startStop

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalid = errors.New("invalid instance")

Functions

This section is empty.

Types

type StartStop

type StartStop interface {
	libsrv.Server
	liberr.Errors
}

func New

func New(start, stop func(ctx context.Context) error) StartStop

Jump to

Keyboard shortcuts

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