admin

package
v0.0.0-...-a8c8ce9 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package admin provides a minimal web UI for monitoring and managing Relayly. Templates are embedded at compile time — no external assets are required.

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 is the admin HTTP server.

func New

func New(hub *relay.Hub, db *database.DB, log *zap.Logger) (*Server, error)

New creates a new admin Server and registers all routes.

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP implements http.Handler so Server can be passed to http.Server.

Jump to

Keyboard shortcuts

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