lifecycle

package
v0.0.0-...-fe6dcde Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handle

type Handle struct {
	IsRunningChan chan interface{}
	ShouldRunChan chan interface{}
	// contains filtered or unexported fields
}

func NewHandle

func NewHandle() (*Handle, error)

func (*Handle) AddError

func (h *Handle) AddError(err error)

func (*Handle) GetErrChan

func (h *Handle) GetErrChan() chan error

func (*Handle) GetIsRunning

func (h *Handle) GetIsRunning() bool

func (*Handle) GetIsRunningChan

func (h *Handle) GetIsRunningChan() chan interface{}

func (*Handle) GetShouldRun

func (h *Handle) GetShouldRun() bool

func (*Handle) GetShouldRunChan

func (h *Handle) GetShouldRunChan() chan interface{}

func (*Handle) ShouldStart

func (h *Handle) ShouldStart()

func (*Handle) ShouldStop

func (h *Handle) ShouldStop()

func (*Handle) Started

func (h *Handle) Started()

func (*Handle) Stopped

func (h *Handle) Stopped()

Jump to

Keyboard shortcuts

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