abstraction

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const ContextClaimsKey = "ContextClaimsKey"

ContextClaimsKey is the code used to register claims into context

View Source
const HttpUserIdHeader = "user-id"

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	UpstreamPath         string
	Secured              bool
	OidcAudience         string
	UpstreamPathPrefix   string
	UpstreamURL          string
	DownstreamPath       string
	DownstreamPathPrefix string
	Methods              []string
	HandlerType          string
	HandlerConfig        map[string]interface{}
	Filters              map[string]interface{}
}

Endpoint stores the gateway configuration for each routing and is passed around to all handlers and middleware

Jump to

Keyboard shortcuts

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