Documentation ¶ Overview ¶ Package httpapi exposes the panel's REST API and serves the web UI. Index ¶ type API func New(store *postgres.Store, h *hub.Hub, issuer *auth.Issuer, cfg *config.Panel, ...) *API func (a *API) Router(ui http.Handler) http.Handler type Notifier Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type API ¶ type API struct { // contains filtered or unexported fields } func New ¶ func New(store *postgres.Store, h *hub.Hub, issuer *auth.Issuer, cfg *config.Panel, log *slog.Logger, notifier Notifier) *API func (*API) Router ¶ func (a *API) Router(ui http.Handler) http.Handler type Notifier ¶ added in v0.2.0 type Notifier interface { Test(ctx context.Context, c domain.NotificationChannel, e domain.Event) error } Notifier is the slice of the dispatcher the HTTP layer uses: everything else reaches it through the event log. Source Files ¶ View all Source files api.goauth.gobackup.gobilling.gohosts.goinspect.gonodes.gonotifications.goprofiles.gorules.gosettings.gosquads.gosubscription.gosystem.gousers.go Click to show internal directories. Click to hide internal directories.