util

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stoppable

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

Stoppable implements the standard stop / shutdown logic

func (*Stoppable) Stop

func (s *Stoppable) Stop() error

Stop stops the controller.

func (*Stoppable) StopChannel

func (s *Stoppable) StopChannel() <-chan struct{}

StopChannel gets the stopChannel, initializing it if needed

func (*Stoppable) StopRequested

func (s *Stoppable) StopRequested() bool

Jump to

Keyboard shortcuts

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