Documentation ¶
Overview ¶
Package server contains the policy engine's server handlers.
Index ¶
Constants ¶
View Source
const ( // ParamInputV1 defines the name of the HTTP URL parameter that specifies // values for the "input" document. ParamInputV1 = "input" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server represents an instance of OPA running in server mode.
func (*Server) Compiler ¶
Compiler returns the server's compiler.
The server's compiler contains the compiled versions of all modules added to the server as well as data structures for performing query analysis. This is intended to allow services to embed the OPA server while still relying on the topdown package for query evaluation.
Click to show internal directories.
Click to hide internal directories.