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