Documentation ¶
Index ¶
- Variables
- func ErrLogger(wrapped ErrableHandlerFunc) httpHandlerFunc
- func EvaluatePolicy(respWriter http.ResponseWriter, req *http.Request) error
- func ParsePolicyRequest(req *http.Request) (*certutil.CIEPSRequest, error)
- func RegisterHandlers(mux *http.ServeMux)
- func SendPolicyResp(respWriter http.ResponseWriter, policyResp *certutil.CIEPSResponse) error
- type ErrableHandlerFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var FatalError = errors.New("internal fatal error")
Functions ¶
func ErrLogger ¶
func ErrLogger(wrapped ErrableHandlerFunc) httpHandlerFunc
func EvaluatePolicy ¶
func EvaluatePolicy(respWriter http.ResponseWriter, req *http.Request) error
func ParsePolicyRequest ¶
func ParsePolicyRequest(req *http.Request) (*certutil.CIEPSRequest, error)
func RegisterHandlers ¶
func SendPolicyResp ¶
func SendPolicyResp(respWriter http.ResponseWriter, policyResp *certutil.CIEPSResponse) error
Types ¶
type ErrableHandlerFunc ¶
type ErrableHandlerFunc func(resp http.ResponseWriter, req *http.Request) error
Click to show internal directories.
Click to hide internal directories.