Documentation ¶
Overview ¶
Package mime does mime stuff
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 New ¶
func New() echo.MiddlewareFunc
New creates a new middleware function with the default config
func NewWithConfig ¶
func NewWithConfig(config Config) echo.MiddlewareFunc
NewWithConfig creates a new middleware function with the provided config
Types ¶
Click to show internal directories.
Click to hide internal directories.