From 16ce077d58081fe0e6f199f1ba1ea4df0a6869d6 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Wed, 5 Apr 2017 23:38:37 +0200 Subject: [PATCH] rename server --- main/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/main.go b/main/main.go index 192e58b78..441f37fce 100644 --- a/main/main.go +++ b/main/main.go @@ -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() {