api

package
v0.1.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIServer

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

Server holds dependencies for the API handlers.

func NewServer

func NewServer(apiToken string, logBroker logging.StreamPublisher, logLevel slog.Level) *APIServer

func (*APIServer) ListenAndServe

func (s *APIServer) ListenAndServe(addr string) error

ListenAndServe starts the HTTP server.

Jump to

Keyboard shortcuts

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