Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GlobalServerConfig ServerConfig GlobalNacosConfig NacosConfig )
Functions ¶
This section is empty.
Types ¶
type MysqlConfig ¶
type NacosConfig ¶
type OrderSrvConfig ¶
type OrderSrvConfig struct {
Name string `mapstructure:"name" json:"name"`
}
type OtelConfig ¶
type OtelConfig struct {
EndPoint string `mapstructure:"endpoint" json:"endpoint"`
}
type ServerConfig ¶
type ServerConfig struct { Name string `mapstructure:"name" json:"name"` Host string `mapstructure:"host" json:"host"` OtelInfo OtelConfig `mapstructure:"otel" json:"otel"` MysqlInfo MysqlConfig `mapstructure:"mysql" json:"mysql"` NsqInfo NsqConfig `mapstructure:"nsq" json:"nsq"` UserSrvInfo UserSrvConfig `mapstructure:"user_srv" json:"user_srv"` OrderSrvInfo OrderSrvConfig `mapstructure:"order_srv" json:"order_srv"` }
func (ServerConfig) GetMysqlDsn ¶
func (c ServerConfig) GetMysqlDsn() string
type UserSrvConfig ¶
type UserSrvConfig struct {
Name string `mapstructure:"name" json:"name"`
}
Click to show internal directories.
Click to hide internal directories.