Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GlobalServerConfig ServerConfig GlobalNacosConfig NacosConfig )
Functions ¶
This section is empty.
Types ¶
type InteractionSrvConfig ¶
type InteractionSrvConfig struct {
Name string `mapstructure:"name" json:"name"`
}
type MysqlConfig ¶
type MysqlConfig struct { Host string `mapstructure:"host" json:"host"` Port int `mapstructure:"port" json:"port"` Name string `mapstructure:"db" json:"db"` User string `mapstructure:"user" json:"user"` Password string `mapstructure:"password" json:"password"` Salt string `mapstructure:"salt" json:"salt"` }
type NacosConfig ¶
type OtelConfig ¶
type OtelConfig struct {
EndPoint string `mapstructure:"endpoint" json:"endpoint"`
}
type RabbitMqConfig ¶
type RedisConfig ¶
type ServerConfig ¶
type ServerConfig struct { Name string `mapstructure:"name" json:"name"` Host string `mapstructure:"host" json:"host"` RedisInfo RedisConfig `mapstructure:"redis" json:"redis"` MysqlInfo MysqlConfig `mapstructure:"mysql" json:"mysql"` RabbitMqInfo RabbitMqConfig `mapstructure:"rabbitmq" json:"rabbitmq"` OtelInfo OtelConfig `mapstructure:"otel" json:"otel"` InteractionSrvInfo InteractionSrvConfig `mapstructure:"interaction_srv" json:"interaction_srv"` UserSrvInfo UserSrvConfig `mapstructure:"user_srv" json:"user_srv"` }
type UserSrvConfig ¶
type UserSrvConfig struct {
Name string `mapstructure:"name" json:"name"`
}
Click to show internal directories.
Click to hide internal directories.