Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger(env Env)
Types ¶
type Env ¶
type Env struct { AppEnv string `json:"app_env"` ServerAddress string `json:"address"` ServerPort string `json:"port"` TimeOut int `json:"timeout"` }
func (*Env) CombineServerAddress ¶
type EnvInteface ¶
type EnvInteface interface {
CombineServerAddress() string
}
Click to show internal directories.
Click to hide internal directories.