Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadDBConfig ¶ added in v1.3.9
Types ¶
type APIConfig ¶
type APIConfig struct { NodeId string `yaml:"nodeId" json:"nodeId"` Secret string `yaml:"secret" json:"secret"` // contains filtered or unexported fields }
APIConfig API节点配置
func (*APIConfig) SetNumberId ¶
SetNumberId 设置数字ID
type SimpleDBConfig ¶ added in v1.3.9
type SimpleDBConfig struct { User string `yaml:"user"` Password string `yaml:"password"` Database string `yaml:"database"` Host string `yaml:"host"` BoolFields []string `yaml:"boolFields,omitempty"` }
func ParseSimpleDBConfig ¶ added in v1.3.9
func ParseSimpleDBConfig(data []byte) (*SimpleDBConfig, error)
func (*SimpleDBConfig) GenerateOldConfig ¶ added in v1.3.9
func (this *SimpleDBConfig) GenerateOldConfig() error
Click to show internal directories.
Click to hide internal directories.