package
0.0.0-20241209154731-68356499f064
Repository: https://github.com/serverless/event-gateway.git
Documentation: pkg.go.dev

# Structs

CORS is used to configure CORS on HTTP subscriptions.
ErrCORSAlreadyExists occurs when CORS config with the same ID already exists.
ErrCORSNotFound occurs when CORS config cannot be found.
ErrCORSValidation occurs when CORS configuration payload doesn't validate.
ErrInvalidCORSUpdate occurs when a client tries to update a CORS config in a way that changes the CORS ID.

# Interfaces

Service represents service for managing CORS configuration.

# Type aliases

CORSes is an array of CORS configurations.
ID uniquely identifies a CORS configuration.