util

package
Version: v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 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

Source Files

Jump to

Keyboard shortcuts

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