1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-04 16:37:12 -05:00

rename server

This commit is contained in:
Darien Raymond 2017-04-05 23:38:37 +02:00
parent dff0230034
commit 16ce077d58
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -64,12 +64,12 @@ func startV2Ray() (core.Server, error) {
return nil, errors.Base(err).Message("V2Ray: Failed to read config file: ", configFile) 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 { if err != nil {
return nil, errors.Base(err).Message("V2Ray: Failed to create initialize.") return nil, errors.Base(err).Message("V2Ray: Failed to create initialize.")
} }
return vPoint, nil return server, nil
} }
func main() { func main() {