service

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAlreadyRunning = errors.New("Service already running")

Functions

This section is empty.

Types

type ErrorCollector

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

func NewErrorCollector

func NewErrorCollector() *ErrorCollector

func (*ErrorCollector) Add

func (ec *ErrorCollector) Add(err error)

func (*ErrorCollector) Error

func (ec *ErrorCollector) Error() error

type RunningLock

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

func (*RunningLock) Disable

func (rl *RunningLock) Disable()

func (*RunningLock) EnableOrFail

func (rl *RunningLock) EnableOrFail() error

func (*RunningLock) Running

func (rl *RunningLock) Running() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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