Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CORSOptions ¶
type CORSOptions struct {
// contains filtered or unexported fields
}
func (*CORSOptions) AddAllowedHeaders ¶
func (co *CORSOptions) AddAllowedHeaders(headers ...string)
func (*CORSOptions) AddAllowedOrigins ¶
func (co *CORSOptions) AddAllowedOrigins(origins ...string)
func (*CORSOptions) AllowCredentials ¶
func (co *CORSOptions) AllowCredentials(allow bool)
func (*CORSOptions) MaxAge ¶
func (co *CORSOptions) MaxAge(max int)
Click to show internal directories.
Click to hide internal directories.