type CrossOriginResourceSharing …
func (c CrossOriginResourceSharing) Filter(req *Request, resp *Response, chain *FilterChain) { … }
func (c CrossOriginResourceSharing) doActualRequest(req *Request, resp *Response) { … }
func (c *CrossOriginResourceSharing) doPreflightRequest(req *Request, resp *Response) { … }
func (c CrossOriginResourceSharing) setOptionsHeaders(req *Request, resp *Response) { … }
func (c CrossOriginResourceSharing) isOriginAllowed(origin string) bool { … }
func (c CrossOriginResourceSharing) setAllowOriginHeader(req *Request, resp *Response) { … }
func (c CrossOriginResourceSharing) checkAndSetExposeHeaders(resp *Response) { … }
func (c CrossOriginResourceSharing) checkAndSetAllowCredentials(resp *Response) { … }
func (c CrossOriginResourceSharing) isValidAccessControlRequestMethod(method string, allowedMethods []string) bool { … }
func (c CrossOriginResourceSharing) isValidAccessControlRequestHeader(header string) bool { … }