startStop

package
v1.13.12 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 7 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