Versions in this module Expand all Collapse all v4 v4.0.0 Nov 13, 2025 Changes in this version + func NewContentTypeHandler(opts *ContentTypeOptions, next http.Handler) (http.Handler, error) + func NewFileServerHandler(opts *FileServerOptions) (http.Handler, error) + func NewWithHeadersHandler(headers map[string]string, next http.Handler) (http.Handler, error) + type ContentTypeOptions struct + Matches map[string]string + type FileServerOptions struct + CORSOrigins []string + EnableCORS bool + EnableGzip bool + Root string Other modules containing this package github.com/aaronland/go-http/v3