package
Version:
v0.0.0-...-92ef796
Opens a new window with list of versions in this module.
Published: Mar 21, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ImConfig struct {
RedisFmt string `yaml:"redis-fmt"`
}
type JwtConfig struct {
Secret string `yaml:"secret"`
Expire int64 `yaml:"expire"`
Issuer string `yaml:"issuer"`
RedisFmt string `yaml:"redis-fmt"`
}
type MetaConfig struct {
DefaultPort int32 `yaml:"default-port"`
DefPageSize int32 `yaml:"def-page-size"`
MaxPageSize int32 `yaml:"max-page-size"`
}
type MySqlConfig struct {
Host string `yaml:"host"`
Port int32 `yaml:"port"`
Charset string `yaml:"charset"`
Name string `yaml:"name"`
User string `yaml:"user"`
Password string `yaml:"passwd"`
IsLog bool `yaml:"log"`
}
type Neo4jConfig struct {
Host string `yaml:"host"`
Port int32 `yaml:"port"`
User string `yaml:"user"`
Password string `yaml:"passwd"`
IsLog bool `yaml:"log"`
}
type RedisConfig struct {
Type string `yaml:"type"`
Host string `yaml:"host"`
Port int32 `yaml:"port"`
Db int32 `yaml:"db"`
Password string `yaml:"passwd"`
ConnectTimeout int32 `yaml:"connect-timeout"`
ReadTimeout int32 `yaml:"read-timeout"`
WriteTimeout int32 `yaml:"write-timeout"`
}
type ZkConfig struct {
Addr []*struct {
Host string `yaml:"host"`
Port int32 `yaml:"port"`
} `yaml:"addr"`
Root string `yaml:"root"`
Timeout int64 `yaml:"timeout"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.