Documentation ¶
Index ¶
Constants ¶
View Source
const HeaderCfIPCountry = "CF-IPCountry"
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware(cfg *Config) wool.Middleware
Types ¶
type CfIPCountry ¶
type CfIPCountry struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg *Config) *CfIPCountry
func (*CfIPCountry) Middleware ¶
func (m *CfIPCountry) Middleware(next wool.Handler) wool.Handler
Click to show internal directories.
Click to hide internal directories.