Versions in this module Expand all Collapse all v0 v0.1.3 Dec 2, 2024 Changes in this version + func Authorization(uc interfaces.UseCase) func(next http.Handler) http.Handler + func Logging(next http.Handler) http.Handler + func MemoryLimit(limit uint64, read ReadMemStatsFn) func(next http.Handler) http.Handler + type Option func(*serverCfg) + func WithMemoryLimit(limit uint64) Option + func WithReadMemStats(fn ReadMemStatsFn) Option + type ReadMemStatsFn func(m *runtime.MemStats) + type Server struct + func New(uc interfaces.UseCase, options ...Option) *Server + func (x *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)