cors

package module
v0.0.0-...-2f69930 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL