Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulConfig ¶
type NacosConfig ¶
type NacosConfig struct { Host string `mapstructure:"host" json:"host"` Port int `mapstructure:"port" json:"port"` Namespace string `mapstructure:"namespace" json:"namespace"` User string `mapstructure:"user" json:"user"` Password string `mapstructure:"password" json:"password"` DataID string `mapstructure:"data_id" json:"data_id"` Group string `mapstructure:"group" json:"group"` }
type ServerConfig ¶
type ServerConfig struct { Name string `mapstructure:"name" json:"name"` Port int `mapstructure:"port" json:"port"` Host string `mapstructure:"host" json:"host"` Tags []string `mapstructure:"tags" json:"tags"` Mode string `mapstructure:"mode" json:"mode"` JwtConfig JwtConfig `mapstructure:"jwt" json:"jwt"` ConsulConfig ConsulConfig `mapstructure:"consul" json:"consul"` SpaceConfig SpaceConfig `mapstructure:"space_srv" json:"space_srv"` }
type SpaceConfig ¶
type SpaceConfig struct {
Name string `mapstructure:"name" json:"name"`
}
Click to show internal directories.
Click to hide internal directories.