Documentation ¶
Overview ¶
Package bodysize is an echo middleware that fixes the final number of body bytes sent on the wire
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Skipper: middleware.DefaultSkipper, }
Functions ¶
func NewWithConfig ¶
func NewWithConfig(config Config) echo.MiddlewareFunc
New return a new bodysize middleware handler
Types ¶
type Config ¶
type Config struct {
Skipper middleware.Skipper
}
Click to show internal directories.
Click to hide internal directories.