api

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiSrv

type ApiSrv struct {
	*adapter.Handlers
	// contains filtered or unexported fields
}

ApiSrv is the server that implements the Noop interface.

func New

func New(cfg *config.Config, handlers *adapter.Handlers) *ApiSrv

New returns a new instance of NoopSrv.

func (*ApiSrv) Start

func (a *ApiSrv) Start(ctx context.Context, ready server.ReadyFunc, run server.RunFunc) func() error

Start starts the server.

Jump to

Keyboard shortcuts

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