type net/http.CrossOriginProtection
9 uses
net/http (current package)
csrf.go#L36: type CrossOriginProtection struct {
csrf.go#L44: func NewCrossOriginProtection() *CrossOriginProtection {
csrf.go#L45: return &CrossOriginProtection{}
csrf.go#L57: func (c *CrossOriginProtection) AddTrustedOrigin(origin string) error {
csrf.go#L99: func (c *CrossOriginProtection) AddInsecureBypassPattern(pattern string) {
csrf.go#L124: func (c *CrossOriginProtection) SetDenyHandler(h Handler) {
csrf.go#L134: func (c *CrossOriginProtection) Check(req *Request) error {
csrf.go#L185: func (c *CrossOriginProtection) isRequestExempt(req *Request) bool {
csrf.go#L206: func (c *CrossOriginProtection) Handler(h Handler) Handler {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |