package
1.2.0
Repository: https://github.com/open-policy-agent/opa.git
Documentation: pkg.go.dev

# Functions

Decision returns an argument that sets the path of the authorization decision to query.
EnablePrintStatements enables print() calls.
GetBodyOnContext returns the parsed input from the request context if it exists.
InterQueryCache enables the inter-query cache on the authorizer.
InterQueryValueCache enables the inter-query value cache on the authorizer.
NewBasic returns a new Basic object.
PrintHook sets the object to use for handling print statement outputs.
Runtime returns an argument that sets the runtime on the authorizer.
SetBodyOnContext adds the parsed input value to the context.

# Type aliases

Basic provides policy-based authorization over incoming requests.