Help us shape the future of Go! Take the 2026 Go Developer Survey

coordinator

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package coordinator implements the public control server: admin API, configuration UI and (in later phases) the control plane, STUN and relay.

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 coordinator's HTTP front end.

func NewServer

func NewServer(log *slog.Logger, ui fs.FS) *Server

NewServer returns a Server that serves the given UI filesystem at "/".

func (*Server) Handler

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

Handler returns the root HTTP handler.

func (*Server) Mount

func (s *Server) Mount(pattern string, h http.Handler)

Mount registers an additional handler, such as the control-plane service. It must be called before Handler.

Directories

Path Synopsis
Package adminapi provides primitives to interact with the openapi HTTP API.
Package adminapi provides primitives to interact with the openapi HTTP API.
Package control implements the agent-facing control plane.
Package control implements the agent-facing control plane.
Package datalock marks a data directory as in use by a running coordinator, so offline operations such as restore can refuse to run.
Package datalock marks a data directory as in use by a running coordinator, so offline operations such as restore can refuse to run.
Package ipam allocates overlay addresses from the mesh prefix.
Package ipam allocates overlay addresses from the mesh prefix.
Package store persists coordinator state in SQLite.
Package store persists coordinator state in SQLite.

Jump to

Keyboard shortcuts

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