appcycle

package
v0.0.0-...-ff5f600 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2016 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// We may want to be able to override these (e.g. for testing), hence
	// the variables.
	ForceStopExitCode     = v23.ForceStopExitCode
	UnhandledStopExitCode = v23.UnhandledStopExitCode
)

Functions

This section is empty.

Types

type AppCycle

type AppCycle struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func New

func New() *AppCycle

func (*AppCycle) AdvanceGoal

func (m *AppCycle) AdvanceGoal(delta int32)

func (*AppCycle) AdvanceProgress

func (m *AppCycle) AdvanceProgress(delta int32)

func (*AppCycle) ForceStop

func (*AppCycle) ForceStop(ctx *context.T)

func (*AppCycle) Remote

func (m *AppCycle) Remote() interface{}

func (*AppCycle) Shutdown

func (m *AppCycle) Shutdown()

func (*AppCycle) Stop

func (m *AppCycle) Stop(ctx *context.T)

func (*AppCycle) TrackTask

func (m *AppCycle) TrackTask(ch chan<- v23.Task)

func (*AppCycle) WaitForStop

func (m *AppCycle) WaitForStop(_ *context.T, ch chan<- string)

Jump to

Keyboard shortcuts

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