store

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrAlreadyExist is the error returned when data added in the store
	// already exists.
	ErrAlreadyExist = errors.New("already exists")
	// ErrNotExist is the error returned when data is not in the store.
	ErrNotExist = errors.New("does not exist")
)

Functions

This section is empty.

Types

type StopCh

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

StopCh is used to propagate the stop information of a container.

func NewStopCh

func NewStopCh() *StopCh

NewStopCh creates a stop channel. The channel is open by default.

func (*StopCh) Stop

func (s *StopCh) Stop()

Stop close stopCh of the container.

func (*StopCh) Stopped

func (s *StopCh) Stopped() <-chan struct{}

Stopped return the stopCh of the container as a readonly channel.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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