Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitGlobalServerService ¶
func InitGlobalServerService(svrCfg *v1.ServerConfig)
Types ¶
type Server ¶
type Server struct { Common *v1.ServerConfig // contains filtered or unexported fields }
func NewServerHandler ¶
func NewServerHandler(svrCfg *v1.ServerConfig) *Server
func (*Server) GetCommonCfg ¶
func (s *Server) GetCommonCfg() *v1.ServerConfig
func (*Server) GetMem ¶
func (s *Server) GetMem() *mem.ServerStats
type ServerHandler ¶
type ServerHandler interface { Run() Stop() GetCommonCfg() *v1.ServerConfig GetMem() *mem.ServerStats }
func GetGlobalServerSerivce ¶
func GetGlobalServerSerivce() ServerHandler
func GetServerSerivce ¶
func GetServerSerivce(svrCfg *v1.ServerConfig) ServerHandler
Click to show internal directories.
Click to hide internal directories.