port host constants

This commit is contained in:
alessio 2017-09-03 20:01:56 +02:00
parent 1dc9369574
commit 918afd5756
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,12 @@ import (
"gopkg.in/urfave/cli.v2" "gopkg.in/urfave/cli.v2"
) )
// Dafault host and port
const (
Host = "localhost"
Port = 5001
)
// Server settings // Server settings
type Server struct { type Server struct {
*settings.Settings `yaml:"-"` *settings.Settings `yaml:"-"`