Documentation ¶
Overview ¶
mime-type middleware
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Skipper: middleware.DefaultSkipper, MimeTypesFile: "", DefaultContentType: "application/data", }
DefaultConfig is the default Gzip middleware config.
Functions ¶
func NewWithConfig ¶
func NewWithConfig(config Config) echo.MiddlewareFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.