port host constants
This commit is contained in:
parent
1dc9369574
commit
918afd5756
|
@ -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:"-"`
|
||||||
|
|
Loading…
Reference in New Issue