Documentation ¶ Index ¶ type Handler func New(client *http.Client, upstreamURL string, engine *trust.Engine, ...) *Handler func (h *Handler) Mount(r chi.Router) func (h *Handler) Serve(w http.ResponseWriter, r *http.Request) func (h *Handler) WithListingEngine(e *trust.Engine) *Handler func (h *Handler) WithWebhook(wh *alerts.Webhook) *Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Handler ¶ type Handler struct { // contains filtered or unexported fields } func New ¶ func New(client *http.Client, upstreamURL string, engine *trust.Engine, pol *policy.Engine, c cache.Cache, evLog *eventlog.Log) *Handler func (*Handler) Mount ¶ func (h *Handler) Mount(r chi.Router) func (*Handler) Serve ¶ func (h *Handler) Serve(w http.ResponseWriter, r *http.Request) func (*Handler) WithListingEngine ¶ added in v1.3.0 func (h *Handler) WithListingEngine(e *trust.Engine) *Handler func (*Handler) WithWebhook ¶ func (h *Handler) WithWebhook(wh *alerts.Webhook) *Handler Source Files ¶ View all Source files handler.go Click to show internal directories. Click to hide internal directories.