Documentation ¶
Index ¶
Constants ¶
View Source
const EntityCacheKey = "entity"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Cache map[string]Cache Db Db Feature Feature Http Http Log Log Network string NodeRefreshInterval time.Duration `yaml:"nodeRefreshInterval"` NodeVersion string `yaml:"nodeVersion"` Nodes NodeMap Online bool Port uint16 Realm int64 Response Response Shard int64 ShutdownTimeout time.Duration `yaml:"shutdownTimeout"` }
func LoadConfig ¶
LoadConfig loads configuration from yaml files and env variables
type Db ¶
Click to show internal directories.
Click to hide internal directories.