admin

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server provides HTTP handlers for the admin API and embedded SPA.

func New

func New(store config.Store, mem memory.Engine, db *sql.DB) *Server

New creates an admin server with all API routes mounted.

func (*Server) Handler

func (s *Server) Handler() http.Handler

Handler returns the HTTP handler with CORS and JSON middleware applied.

Jump to

Keyboard shortcuts

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