crash.software
Projects
Pull Requests
Issues
Builds
gophish
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
gophish
Files
🤬
Sign In
84096b87
ROOT
/
middleware
/
middleware.go
Search
History
179 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
CSRFExemptPrefixes
CSRFExceptions
(handler http.Handler)
:
http.HandlerFunc
Use
(handler http.HandlerFunc, mid ...func(http.Handler) http.HandlerFunc)
:
http.HandlerFunc
GetContext
(handler http.Handler)
:
http.HandlerFunc
RequireAPIKey
(handler http.Handler)
:
http.Handler
RequireLogin
(handler http.Handler)
:
http.HandlerFunc
EnforceViewOnly
(next http.Handler)
:
http.Handler
RequirePermission
(perm string)
:
func(http.Handler) http.HandlerFunc
JSONError
(w http.ResponseWriter, c int, m string)
All occurrences
Please wait...
Page is in error, reload to recover