Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultClient *http.Client
)
DefaultClient is the default Client whose setting is the same as http.DefaultClient.
Functions ¶
Types ¶
type Option ¶ added in v0.2.0
type Option func(*config)
Option type of paranoidhttp
func ForbiddenHosts ¶ added in v0.2.0
ForbiddenHosts set forbidden host rules by regexp
func ForbiddenIPNets ¶ added in v0.2.0
ForbiddenIPNets sets forbidden IPNets
func PermittedIPNets ¶ added in v0.2.0
PermittedIPNets sets permitted IPNets It takes priority over other forbidden rules.
Click to show internal directories.
Click to hide internal directories.