#1 Caddy
Package caddy implements the Caddy server manager.
Package nosurf implements an HTTP handler that mitigates Cross-Site Request Forgery Attacks.
Health score 81/100, confidence 100/100.
| Latest version | v1.2.0 |
| Imported by | 2.5K packages |
| Stars | 1.7K |
| Forks | 127 |
| Last activity | 1 years ago |
| Latest release | v1.2.0 (1 years ago) |
| License | MIT |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| CSRFHandler | Type | type CSRFHandler struct{} |
| CSRFHandler.ExemptFunc | Method | func (h *CSRFHandler) ExemptFunc(fn func(r *http.Request) bool) |
| CSRFHandler.ExemptGlob | Method | func (h *CSRFHandler) ExemptGlob(pattern string) |
| CSRFHandler.ExemptGlobs | Method | func (h *CSRFHandler) ExemptGlobs(patterns ...string) |
| CSRFHandler.ExemptPath | Method | func (h *CSRFHandler) ExemptPath(path string) |
| CSRFHandler.ExemptPaths | Method | func (h *CSRFHandler) ExemptPaths(paths ...string) |
| CSRFHandler.ExemptRegexp | Method | func (h *CSRFHandler) ExemptRegexp(re interface{}) |
| CSRFHandler.ExemptRegexps | Method | func (h *CSRFHandler) ExemptRegexps(res ...interface{}) |
| CSRFHandler.IsExempt | Method | func (h *CSRFHandler) IsExempt(r *http.Request) bool |
| CSRFHandler.RegenerateToken | Method | func (h *CSRFHandler) RegenerateToken(w http.ResponseWriter, r *http.Request) string |
| CSRFHandler.ServeHTTP | Method | func (h *CSRFHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) |
| CSRFHandler.SetBaseCookie | Method | func (h *CSRFHandler) SetBaseCookie(cookie http.Cookie) |
Package caddy implements the Caddy server manager.
Package secure is an HTTP middleware for Go that facilitates some quick security wins.
Package caddy implements the Caddy server manager.
Package secure is an HTTP middleware for Go that facilitates some quick security wins.
Package csrf (gorilla/csrf) provides Cross Site Request Forgery (CSRF) prevention middleware for Go web applications & services.
SSL certificates made easy with a high level wrapper around acme/autocert.
An n-out-of-N keys encryption/decryption framework based on Shamir's Secret Sharing algorithm.