manager

package
v1.1.24 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	Status Status
	// contains filtered or unexported fields
}

Base a Manager implement

func (*Base) Lock

func (base *Base) Lock()

Lock lock the Manger

func (*Base) Unlock

func (base *Base) Unlock()

Unlock unlock the Manager

type Manager

type Manager interface {
	Start(ctx context.Context) chan error
}

Manager base interface

type Status

type Status byte

Status of Manager

const (
	// Status stop
	STOP Status = '1'
	// Status start
	START Status = '2'
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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