Documentation ¶
Index ¶
- Variables
- func UseAuthn(auth authenticator.Authenticator, defaultEngine string) gin.HandlerFunc
- func UseCors(origins []string) gin.HandlerFunc
- func UseIdempotency(logger logging.Logger, engine idempotency.Idempotency, bypass bool) gin.HandlerFunc
- func UseStartup(conf *gateway.Config) gin.HandlerFunc
- func UseTracing(name string) gin.HandlerFunc
- func UseWorkspace(...) gin.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var HeaderIdempotencyKey = "idempotency-key"
Functions ¶
func UseAuthn ¶
func UseAuthn(auth authenticator.Authenticator, defaultEngine string) gin.HandlerFunc
func UseCors ¶
func UseCors(origins []string) gin.HandlerFunc
func UseIdempotency ¶
func UseIdempotency(logger logging.Logger, engine idempotency.Idempotency, bypass bool) gin.HandlerFunc
func UseStartup ¶
func UseStartup(conf *gateway.Config) gin.HandlerFunc
func UseTracing ¶
func UseTracing(name string) gin.HandlerFunc
func UseWorkspace ¶
func UseWorkspace(resolve func(ctx context.Context, acc *authenticator.Account, id string) (*entities.Workspace, error)) gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.