control_api

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: AGPL-3.0 Imports: 7 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 {
	Store    *login_session.Store
	Attempts *login_session.LoginAttempts
	Log      *slog.Logger

	MaxLoginAttempts int
	LoginAttemptMins int
	LoginKeepMins    int
}

Handler serves Control API routes.

func (*Handler) Mount

func (h *Handler) Mount(mux *http.ServeMux)

Mount registers /api/* routes on mux.

Jump to

Keyboard shortcuts

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