Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultPort = 8000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type BillingConfig ¶ added in v0.2.0
type BillingConfig struct {
CheckinURL string `mapstructure:"billing_checkin_url"`
}
type Config ¶
type Config struct {
Server ServerConfig `mapstructure:"server"`
Log LogConfig `mapstructure:"log"`
Database DatabaseConfig `mapstructure:"database"`
Auth AuthConfig `mapstructure:"auth"`
Billing BillingConfig `mapstructure:"billing"`
Redis RedisConfig `mapstructure:"redis"`
Extra ExtraConfig `mapstructure:"extra"`
}
var (
CFG *Config
)
type DatabaseConfig ¶
type ExtraConfig ¶ added in v0.2.0
type RedisConfig ¶ added in v0.2.0
type ServerConfig ¶
type ServerConfig struct {
Port int `mapstructure:"port"`
}
Click to show internal directories.
Click to hide internal directories.