Documentation ¶
Index ¶
- Variables
- func CheckRequestDenied(req *http.Request) (address string, denied bool)
- func DenyAddress(address string)
- func DenyPath(patterns ...string) (err error)
- func DenyWordPressPaths()
- func IsAddressDenied(address string) bool
- func Middleware(next http.Handler) http.Handler
- func Serve403(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DenyDuration int64 = 60 * 60 * 24
)
Functions ¶
func DenyAddress ¶
func DenyAddress(address string)
func DenyWordPressPaths ¶
func DenyWordPressPaths()
func IsAddressDenied ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.