Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GlobalServerConfig = &ServerConfig{} GlobalNacosConfig = &NacosConfig{} GlobalUploadService *uploadService.Service GlobalChatClient chatservice.Client GlobalUserClient userservice.Client GlobalVideoClient videoservice.Client GlobalSocialClient socialityservice.Client GlobalInteractionClient interactionserver.Client )
Functions ¶
This section is empty.
Types ¶
type NacosConfig ¶
type OtelConfig ¶
type OtelConfig struct {
EndPoint string `mapstructure:"endpoint" json:"endpoint"`
}
type RPCSrvConfig ¶
type RPCSrvConfig struct {
Name string `mapstructure:"name" json:"name"`
}
type RabbitMqConfig ¶
type ServerConfig ¶
type ServerConfig struct { Name string `mapstructure:"name" json:"name"` Host string `mapstructure:"host" json:"host"` Port int `mapstructure:"port" json:"port"` JWTInfo JWTConfig `mapstructure:"jwt" json:"jwt"` OtelInfo OtelConfig `mapstructure:"otel" json:"otel"` ChatSrvInfo RPCSrvConfig `mapstructure:"chat_srv" json:"chat_srv"` UserSrvInfo RPCSrvConfig `mapstructure:"user_srv" json:"user_srv"` InteractionSrvInfo RPCSrvConfig `mapstructure:"interaction_srv" json:"interaction_srv"` SocialitySrvInfo RPCSrvConfig `mapstructure:"sociality_srv" json:"sociality_srv"` VideoSrvInfo RPCSrvConfig `mapstructure:"video_srv" json:"video_srv"` UploadServiceInfo config.UploadServiceConfig `mapstructure:"upload_srv" json:"upload_srv"` }
Click to show internal directories.
Click to hide internal directories.