Documentation ¶
Index ¶
Constants ¶
View Source
const ( //status StatusInProgress = "in-progress" StatusSuccess = "success" StatusFailed = "failed" StatusPending = "pending" StatusComplete = "complete" StatusOnGoing = "on-going" )
Variables ¶
View Source
var (
ApiVersion = "0.1.0" + "-" + pBuildTime
)
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { Driver driver.DbConnectorConfig `json:"driver"` Port string `json:"port"` GoogleApiKey string `json:"google_api_key"` Showlog bool `json:"showlog"` }
AppConfig optional parameter structure
var ApiConfig *AppConfig
api global handler
type GlobalConfig ¶
type GlobalConfig struct { }
func NewGlobalConfig ¶
func NewGlobalConfig() *GlobalConfig
func (*GlobalConfig) InitConfig ¶
func (g *GlobalConfig) InitConfig()
initConfig set defaults for initial reqmts
func (*GlobalConfig) InitEnvParams ¶
func (g *GlobalConfig) InitEnvParams()
initEnvParams enable all OS envt vars to reload internally
func (*GlobalConfig) InitRecov ¶
func (g *GlobalConfig) InitRecov()
initRecov is for dumpIng segv in
Click to show internal directories.
Click to hide internal directories.