Documentation ¶
Overview ¶
@Title @Description @Author Wangwengang 2021/8/18 下午10:06 @Update Wangwengang 2021/8/18 下午10:06
@Title @Description @Author Wangwengang 2021/8/18 下午10:01 @Update Wangwengang 2021/8/18 下午10:01
Index ¶
Constants ¶
View Source
const ( ConfigEnv = "X_CONFIG" ConfigFile = "config.yaml" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { JWT conf.JWT `mapstructure:"jwt" json:"jwt" yaml:"jwt"` // jwt Zap conf.Zap `mapstructure:"zap" json:"zap" yaml:"zap"` // logger TcpConfig conf.TcpConfig `mapstructure:"tcp-config" json:"tcpConfig" yaml:"tcp-config"` // logger Rpcx conf.Rpcx `mapstructure:"rpcx" json:"rpcx" yaml:"rpcx"` EtcdV3 conf.EtcdV3 `mapstructure:"etcd-v3" json:"etcdV3" yaml:"etcd-v3"` Websocket conf.Websocket `mapstructure:"websocket" json:"websocket" yaml:"websocket"` Redis conf.Redis `mapstructure:"redis" json:"redis" yaml:"redis"` RpcxRouterMap map[uint32]conf.RpcxRouter `mapstructure:"rpcx-router-map" json:"rpcxRouterMap" yaml:"rpcx-router-map"` }
var ConfigHub *Config
Directories ¶
Path | Synopsis |
---|---|
@Title @Description @Author Wangwengang 2021/8/19 下午12:42 @Update Wangwengang 2021/8/19 下午12:42 @Title @Description @Author Wangwengang 2021/8/18 下午10:08 @Update Wangwengang 2021/8/18 下午10:08 @Title @Description @Author Wangwengang 2021/8/24 下午9:37 @Update Wangwengang 2021/8/24 下午9:37 @Title @Description @Author Wangwengang 2021/8/19 下午12:21 @Update Wangwengang 2021/8/19 下午12:21 @Title @Description @Author Wangwengang 2021/8/26 上午10:09 @Update Wangwengang 2021/8/26 上午10:09 @Title @Description @Author Wangwengang 2021/8/19 上午1:50 @Update Wangwengang 2021/8/19 上午1:50 @Title @Description @Author Wangwengang 2021/8/20 下午2:38 @Update Wangwengang 2021/8/20 下午2:38 @Title @Description @Author Wangwengang 2021/8/18 下午10:05 @Update Wangwengang 2021/8/18 下午10:05
|
@Title @Description @Author Wangwengang 2021/8/19 下午12:42 @Update Wangwengang 2021/8/19 下午12:42 @Title @Description @Author Wangwengang 2021/8/18 下午10:08 @Update Wangwengang 2021/8/18 下午10:08 @Title @Description @Author Wangwengang 2021/8/24 下午9:37 @Update Wangwengang 2021/8/24 下午9:37 @Title @Description @Author Wangwengang 2021/8/19 下午12:21 @Update Wangwengang 2021/8/19 下午12:21 @Title @Description @Author Wangwengang 2021/8/26 上午10:09 @Update Wangwengang 2021/8/26 上午10:09 @Title @Description @Author Wangwengang 2021/8/19 上午1:50 @Update Wangwengang 2021/8/19 上午1:50 @Title @Description @Author Wangwengang 2021/8/20 下午2:38 @Update Wangwengang 2021/8/20 下午2:38 @Title @Description @Author Wangwengang 2021/8/18 下午10:05 @Update Wangwengang 2021/8/18 下午10:05 |
Click to show internal directories.
Click to hide internal directories.