Documentation
¶
Overview ¶
Package decisionsupport provides a Middleware function for integrating the hexa opa provider (OpaDecisionProvider).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecisionProvider ¶
type DecisionSupport ¶
type DecisionSupport struct { Provider DecisionProvider Skip []string ActionMap map[string]string // ActionMap converts a path into an actionUri (map[path]=uri value ResourceMap map[string]string // ResourceMap converts a path into an resourceUri (map[path]=uri value ResourceId string // ResourceId if set is passed as part of buildInput overriding ResourceMap }
func (*DecisionSupport) Middleware ¶
func (d *DecisionSupport) Middleware(next http.Handler) http.Handler
Click to show internal directories.
Click to hide internal directories.