api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: GPL-3.0 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 interface {
	Start(ctx context.Context) error
	Stop() error
}

Server exposes the API HTTP server lifecycle.

func NewServer

func NewServer(
	log logrus.FieldLogger,
	cfg *config.APIConfig,
) Server

NewServer creates a new API server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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