api

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 15 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 struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *spec.Config, cfgPath string, store *results.Store) *Server

func (*Server) Addr

func (s *Server) Addr() string

func (*Server) OnReload

func (s *Server) OnReload(fn func())

func (*Server) Serve

func (s *Server) Serve(ctx context.Context) error

func (*Server) UpdateConfig

func (s *Server) UpdateConfig(cfg *spec.Config)

Jump to

Keyboard shortcuts

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