Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasBehavior ¶
func HasBehavior(ctx context.Context, behavior codersdk.CORSBehavior) bool
HasBehavior returns true if the given context has the specified CORS behavior.
func WithBehavior ¶
WithBehavior sets the CORS behavior for the given context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.