Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
CorsConfig
}
type CorsConfig ¶
type CorsConfig struct { NotAutoDeleteWebsocketOrigin bool `json:"not_auto_delete_websocket_origin"` DeleteOrigin bool `json:"delete_origin"` AccessControlAllowOrigin string `json:"access_control_allow_origin"` AccessControlAllowHeaders string `json:"access_control_allow_headers"` AccessControlAllowMethods string `json:"access_control_allow_methods"` AccessControlExposeHeaders string `json:"access_control_expose_headers"` AccessControlAllowCredentials string `json:"access_control_allow_credentials"` }
Click to show internal directories.
Click to hide internal directories.