security

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Route added in v0.1.8

type Route struct {
	Path          string
	Method        string
	Security      string
	Scopes        []string
	PathVariables map[string]string
}

type SecurityLayer

type SecurityLayer interface {
	Authorize(w http.ResponseWriter, r *http.Request, ctx di.Context, route *Route) error
}

Jump to

Keyboard shortcuts

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