Documentation
¶
Index ¶
Constants ¶
View Source
const ( DebugMode = RunMode("debug") ReleaseMode = RunMode("release") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { Httpaddr string `json:"httpaddr"` Httpport int `json:"httpport"` Runmode RunMode `json:"runmode"` ApiAddr string `json:"api_addr"` ApiPort int `json:"api_port"` ApiScheme string `json:"api_scheme"` MemStorySecret string `json:"mem_story_secret"` SessionStory string `json:"session_story"` }
func ReadConfig ¶
Click to show internal directories.
Click to hide internal directories.