server

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const VersionPath = "/api/v1/version"

VersionPath exposes build metadata for operators.

Variables

This section is empty.

Functions

func BootstrapAdmin

func BootstrapAdmin(ctx context.Context, st *store.Store, cfg *config.Config) error

func LogHealthCheck added in v0.3.1

func LogHealthCheck(next http.Handler, log *log.Logger) http.Handler

LogHealthCheck is a no-op logger wrapper to suppress health-check noise. Use as middleware when health checks would otherwise pollute access logs.

Types

type Server

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

func New

func New(cfg *config.Config, st *store.Store) (*Server, error)

func (*Server) Handler

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

Jump to

Keyboard shortcuts

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