middleware

package
v0.0.0-...-e341b83 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CallerTypeService = "service"
	CallerTypeUser    = "user"
)

Variables

This section is empty.

Functions

func BearerTokenAuth

func BearerTokenAuth(expectedToken string) func(http.Handler) http.Handler

func ForwardedAccessToken

func ForwardedAccessToken(next http.Handler) http.Handler

func IsServiceCaller

func IsServiceCaller(ctx context.Context) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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