Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Cors ¶
type Cors struct {
// contains filtered or unexported fields
}
func (*Cors) Handle ¶
func (s *Cors) Handle(next http.HandlerFunc) http.HandlerFunc
Handle wraps a HandlerFunc to respond OPTIONS requests properly
Click to show internal directories.
Click to hide internal directories.