Documentation ¶ Index ¶ func NewHttpServer(port int, m *manager.Manager) *httpServer type Server func NewServer(serverConf ServerConf, m *manager.Manager) *Server func (s *Server) Start() error func (s *Server) Stop() error func (s *Server) WaitStop() error type ServerConf Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewHttpServer ¶ func NewHttpServer(port int, m *manager.Manager) *httpServer Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } func NewServer ¶ func NewServer(serverConf ServerConf, m *manager.Manager) *Server func (*Server) Start ¶ func (s *Server) Start() error func (*Server) Stop ¶ func (s *Server) Stop() error func (*Server) WaitStop ¶ func (s *Server) WaitStop() error type ServerConf ¶ type ServerConf struct { HttpPort int } Source Files ¶ View all Source files http.goserver.go Click to show internal directories. Click to hide internal directories.