Documentation ¶
Index ¶
- type Server
- func (s *Server) InitConfig(confPath string)
- func (s *Server) InitDb()
- func (s *Server) InitLogger()
- func (s *Server) InitMemcached()
- func (s *Server) InitRedis()
- func (s *Server) InitRouter()
- func (s *Server) InitServer()
- func (s *Server) Run()
- func (s *Server) SetAddress(addr string)
- func (s *Server) SetTimeout(timeout int)
- func (s *Server) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { ConfigPath string Config config.IConfig Router *router.Router // contains filtered or unexported fields }
func (*Server) InitServer ¶
func (s *Server) InitServer()
func (*Server) SetAddress ¶
func (*Server) SetTimeout ¶
Click to show internal directories.
Click to hide internal directories.