internal

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryPolicy

func QueryPolicy(r *http.Request, cfg *config.Config, bind map[string]interface{}) (bool, error)

QueryPolicy is a helper function to query a local policy evaluation. It takes the request, the configuration and the bind variables.

func QueryURL

func QueryURL(r *http.Request, cfg *config.Config, bind map[string]interface{}) (bool, error)

QueryURL is a helper function to query the policy engine using its URL. It takes the request, the configuration and the bind variables.

Types

This section is empty.

Jump to

Keyboard shortcuts

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