Versions in this module Expand all Collapse all v1 v1.0.4 Feb 19, 2024 v1.0.3 Feb 14, 2024 Changes in this version type LogConfig + func (c *LogConfig) Encoding() string v1.0.2 Feb 8, 2024 Changes in this version + type DBConfig struct + DB *dbGorm + func (c *DBConfig) IsLoad() bool + type JwtConfig struct + Jwt jwt + func (c *JwtConfig) IsLoad() bool + type LogConfig struct + LogC logC + func (c *LogConfig) Compress() bool + func (c *LogConfig) IsLoad() bool + func (c *LogConfig) KeepDays() int + func (c *LogConfig) Level() string + func (c *LogConfig) Mode() string + func (c *LogConfig) Path() string + func (c *LogConfig) StackCoolDownMillis() int + type MqConfig struct + Rabbit rabbitMq + Redis redisMq + func (c *MqConfig) IsLoad() bool + type PluginConfig struct + Plugin plugin + func (c *PluginConfig) IsLoad() bool + func (c *PluginConfig) MonitorInterval() int + type RedisConfig struct + Cache *redis + func (c *RedisConfig) Address() string + func (c *RedisConfig) IsLoad() bool + func (c *RedisConfig) MaxActive() int + func (c *RedisConfig) MaxIdle() int + func (c *RedisConfig) Network() string + func (c *RedisConfig) Password() string + func (c *RedisConfig) Tls() bool + func (c *RedisConfig) Type() string + func (c *RedisConfig) Wait() bool + type RegistryConfig struct + Registry registry + func (c *RegistryConfig) DialTimeout() time.Duration + func (c *RegistryConfig) Endpoints() []string + func (c *RegistryConfig) IsEnable() bool + func (c *RegistryConfig) IsLoad() bool + func (c *RegistryConfig) MaxRetry() int + func (c *RegistryConfig) Namespace() string + func (c *RegistryConfig) TTL() time.Duration + type RpcClientConf struct + RpcClient *rpcClient + func (c *RpcClientConf) BuildTarget() (string, error) + func (c *RpcClientConf) HasCredential() bool + func (c *RpcClientConf) IsLoad() bool + func (c *RpcClientConf) NonBlock() bool + func (c *RpcClientConf) Timeout() int64 + type RpcServerConf struct + RpcServer rpcServer + func (c *RpcServerConf) IsLoad() bool + type ServerConfig struct + Server server + func (c *ServerConfig) EnableMetrics() bool + func (c *ServerConfig) EnableWs() bool + func (c *ServerConfig) IsLoad() bool + func (c *ServerConfig) Listener() string + func (c *ServerConfig) Timeout() int + type WsConfig struct + WS *ws + func (c *WsConfig) IsLoad() bool