Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Database *gorm.DB
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct { Debug bool `json:"debug" yaml:"debug"` Name string `json:"name" yaml:"name"` Secret string `json:"secret" yaml:"secret"` HttpPort int `json:"http_port" yaml:"http_port"` RpcPort int `json:"rpc_port" yaml:"rpc_port"` Service string `json:"service" yaml:"service"` Db Db `json:"database" yaml:"database"` CacheLifetime int `json:"cache_lifetime" yaml:"cache_lifetime"` ApiPrefix string `json:"api_prefix" yaml:"api_prefix"` User string }
Click to show internal directories.
Click to hide internal directories.