server

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

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

func NewFactory

func NewFactory(osLayer OSLayer) *Factory

func (*Factory) NewServerOverUDS

func (f *Factory) NewServerOverUDS(handlers map[string]http.HandlerFunc) (HttpServer, error)

type HttpServer

type HttpServer interface {
	Serve(socketPath string) error
	Shutdown(ctx context.Context) error
}

type OSLayer

type OSLayer interface {
	RemoveAll(name string) error
}

Jump to

Keyboard shortcuts

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