Versions in this module Expand all Collapse all v0 v0.1.0 Jan 28, 2021 Changes in this version + func EqualFileSystems(fs, otherFS http.FileSystem, currentPath string) bool + func HeadersMiddleware(headers stdhttp.Header, ignoredPrefixes ...string) func(next stdhttp.Handler) stdhttp.Handler + func LoggingMiddleware(next stdhttp.Handler) stdhttp.Handler + func NewAPIMux(l *log.Entry) *chi.Mux + func NewMux(l *log.Entry) *chi.Mux + func Run(conf Config) + func SetLoggerMiddleware(l *log.Entry) func(stdhttp.Handler) stdhttp.Handler + func StripTrailingSlashMiddleware(ignoredPrefixes ...string) func(next stdhttp.Handler) stdhttp.Handler + type Config struct + Handler stdhttp.Handler + IdleTimeout time.Duration + ListenAddr string + OnStarting func() + OnStopped func() + OnStopping func() + ReadTimeout time.Duration + ShutdownGracePeriod time.Duration + TCPKeepAlive time.Duration + TLS *config.TLS + WriteTimeout time.Duration + type SimpleHTTPClientInterface interface + Get func(url string) (*stdhttp.Response, error) + PostForm func(url string, data url.Values) (*stdhttp.Response, error)