Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GlobalServerConfig ServerConfig GlobalEtcdConfig EtcdConfig UserClient userservice.Client LectureClient lectureservice.Client ChatClient chatservice.Client PushClient pushservice.Client QuizClient quizservice.Client AgentClient agentservice.Client )
Functions ¶
This section is empty.
Types ¶
type EtcdConfig ¶
type RPCSrvConfig ¶
type RPCSrvConfig struct {
Name string `json:"name"`
}
type ServerConfig ¶
type ServerConfig struct {
Name string `json:"name"`
Host string `json:"host"`
Port string `json:"port"`
UserSrvInfo RPCSrvConfig `json:"user_srv"`
LectureSrvInfo RPCSrvConfig `json:"lecture_srv"`
ChatSrvInfo RPCSrvConfig `json:"chat_srv"`
PushSrvInfo RPCSrvConfig `json:"push_srv"`
QuizSrvInfo RPCSrvConfig `json:"quiz_srv"`
AgentSrvInfo RPCSrvConfig `json:"agent_srv"`
OtelEndpoint string `json:"otel_endpoint"`
}
Click to show internal directories.
Click to hide internal directories.