gomod

package
v1.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL