Help us shape the future of Go! Take the 2026 Go Developer Survey

policy

package
v2.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Engine policy

global policy engine

Functions

func RuleFromHTTPRequest

func RuleFromHTTPRequest(r *http.Request) string

RuleFromHTTPRequest returns policy rule key associated to a http request

func SetPolicyEngine

func SetPolicyEngine(engine string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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