Versions in this module Expand all Collapse all v1 v1.13.1 Feb 8, 2017 Changes in this version + type Config struct + CorsHeaders string + EnableCors bool + Logging bool + SocketGroup string + TLSConfig *tls.Config + Version string + type HTTPServer struct + func (s *HTTPServer) Close() error + func (s *HTTPServer) Serve() error + type Server struct + func New(cfg *Config) *Server + func (s *Server) Accept(addr string, listeners ...net.Listener) + func (s *Server) Close() + func (s *Server) DisableProfiler() + func (s *Server) EnableProfiler() + func (s *Server) InitRouter(enableProfiler bool, routers ...router.Router) + func (s *Server) UseMiddleware(m middleware.Middleware) + func (s *Server) Wait(waitChan chan error)