server

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() auacornapi.Acorn

Types

type Impl

func (*Impl) AcornName

func (s *Impl) AcornName() string

func (*Impl) AssembleAcorn

func (s *Impl) AssembleAcorn(registry auacornapi.AcornRegistry) error

func (*Impl) CreateMainServer

func (s *Impl) CreateMainServer(ctx context.Context) *http.Server

func (*Impl) CreateMetricsServer

func (s *Impl) CreateMetricsServer(ctx context.Context) *http.Server

func (*Impl) IsServer

func (s *Impl) IsServer() bool

func (*Impl) NewServer

func (s *Impl) NewServer(ctx context.Context, address string, router http.Handler) *http.Server

func (*Impl) Run

func (s *Impl) Run() error

func (*Impl) SetupAcorn

func (s *Impl) SetupAcorn(registry auacornapi.AcornRegistry) error

func (*Impl) StartForegroundMainServer

func (s *Impl) StartForegroundMainServer(ctx context.Context, srv *http.Server) error

func (*Impl) StartMetricsServerAsyncTerminatesOnError

func (s *Impl) StartMetricsServerAsyncTerminatesOnError(ctx context.Context, srv *http.Server)

func (*Impl) TeardownAcorn

func (s *Impl) TeardownAcorn(registry auacornapi.AcornRegistry) error

func (*Impl) WireUp

func (s *Impl) WireUp(ctx context.Context)

Jump to

Keyboard shortcuts

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