Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ActionErrorHandler ¶
func ActionErrorHandler(handler ActionHandler) http.Handler
Types ¶
type ActionHandler ¶
type ActionHandler func(w http.ResponseWriter, req *http.Request) error
type Config ¶
type Config func(server *Server)
func WithMonitorWrapper ¶
func WithMonitorWrapper(wrapper MonitorWrapper) Config
type Server ¶
func (*Server) ListenAndServe ¶
func (s *Server) ListenAndServe(ctx context.Context, handlers ...ShutdownHandler) error
type ShutdownHandler ¶
Click to show internal directories.
Click to hide internal directories.