Versions in this module Expand all Collapse all v0 v0.0.0 Jul 20, 2022 Changes in this version + var DEFAULT_MIDDLEWARES = []func(http.Handler) http.Handler + var GetRequest = shared.GetRequest + var NewAPIError = shared.NewAPIError + var NoContent = shared.NoContent + var Redirect = shared.Redirect + func DefaultRouter() chi.Router + func Lift(action Action[I, O]) http.HandlerFunc + type Action func(ctx context.Context, input I) (output O, err error) + type Empty = shared.Empty + type ErrorResponse = shared.ErrorResponse + type Server struct + GracefulShutdownTimeout time.Duration + func NewServer(addr string, handler http.Handler, gracefulShutdownTimeout time.Duration) *Server + func (server *Server) ListenAndServe(ctx context.Context) error