Documentation
¶
Index ¶
- type Config
- type Server
- func (s *Server) Address() string
- func (s *Server) Middleware(middleware func(http.Handler) http.Handler)
- func (s *Server) Mount(pattern string, handler http.Handler)
- func (s *Server) Run(ctx context.Context) error
- func (s *Server) Shutdown(ctx context.Context) error
- func (s *Server) WithListener(l net.Listener)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) WithListener ¶
Click to show internal directories.
Click to hide internal directories.