From f9fed80fd69f12f56fd832c97ee5aec4d49a613e Mon Sep 17 00:00:00 2001 From: dingjun Date: Fri, 23 Dec 2016 14:08:40 +0800 Subject: [PATCH] use int type for port --- conf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.go b/conf.go index b668dbc..e380423 100644 --- a/conf.go +++ b/conf.go @@ -13,7 +13,7 @@ type conf struct { type listen struct { Host string - Port string + Port int Cert string Key string EnableProxy bool