mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 07:26:24 -05:00
rename server
This commit is contained in:
parent
dff0230034
commit
16ce077d58
@ -64,12 +64,12 @@ func startV2Ray() (core.Server, error) {
|
||||
return nil, errors.Base(err).Message("V2Ray: Failed to read config file: ", configFile)
|
||||
}
|
||||
|
||||
vPoint, err := core.New(config)
|
||||
server, err := core.New(config)
|
||||
if err != nil {
|
||||
return nil, errors.Base(err).Message("V2Ray: Failed to create initialize.")
|
||||
}
|
||||
|
||||
return vPoint, nil
|
||||
return server, nil
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
Loading…
Reference in New Issue
Block a user