Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GasConfig ¶
type GasConfig struct { // ParamName is the name of the param used to cover the original // Accept-Language header. // // Default: "accept-language" ParamName string // CookieName is the name of the cookie used to cover the original // Accept-Language header. // // Default: "accept-language" CookieName string // CookieMaxAge is the max-age of the cookie used to cover the original // Accept-Language header. // // Default: 0 CookieMaxAge int Skippable func(*air.Request, *air.Response) bool }
GasConfig is a set of configurations for the `Gas`.
Click to show internal directories.
Click to hide internal directories.