Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Server ¶
func Server(opts ...Option) middleware.Middleware
Types ¶
type Option ¶
type Option func(*xffOption)
func AllowedSubnets ¶
AllowedSubnets is a list of Subnets from which we will accept the X-Forwarded-For header. If this list is empty we will accept every Subnets (default).
Click to show internal directories.
Click to hide internal directories.