From 918afd57561ea2dc1ab5261a2a21e1bd24f8fc20 Mon Sep 17 00:00:00 2001 From: alessio Date: Sun, 3 Sep 2017 20:01:56 +0200 Subject: [PATCH] port host constants --- server/main.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/main.go b/server/main.go index 6c544a3..8176a47 100644 --- a/server/main.go +++ b/server/main.go @@ -13,6 +13,12 @@ import ( "gopkg.in/urfave/cli.v2" ) +// Dafault host and port +const ( + Host = "localhost" + Port = 5001 +) + // Server settings type Server struct { *settings.Settings `yaml:"-"`