Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpaDecisionProvider ¶
type OpaDecisionProvider struct { Client HTTPClient Url string Principal string }
func (OpaDecisionProvider) Allow ¶
func (o OpaDecisionProvider) Allow(any interface{}) (bool, error)
func (OpaDecisionProvider) BuildInput ¶
func (o OpaDecisionProvider) BuildInput(r *http.Request) (any interface{}, err error)
type OpaResponse ¶
type OpaResponse struct {
Result bool
}
Click to show internal directories.
Click to hide internal directories.