Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DBInited = false
View Source
var DBSet = make(dBSet)
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Storage Storage
AutoMigrate bool `json:"autoMigrate"`
EnableTest bool `json:"enableTest"`
Log string `json:"log"`
Server Server
Proxy []Proxy
}
func ReadConfigFile ¶
type Storage ¶
func (*Storage) UnmarshalJSON ¶
UnmarshalJSON allows Storage to implement the unmarshaler interface to dynamically determine the type of the storage config.
Click to show internal directories.
Click to hide internal directories.