Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntranceEvent ¶
type ErrorTrace ¶
type ErrorTrace []ExitEvent
func NewErrorTrace ¶
func NewErrorTrace(bufferSize int) ErrorTrace
func (ErrorTrace) Error ¶
func (trace ErrorTrace) Error() string
func (ErrorTrace) ToError ¶
func (trace ErrorTrace) ToError() error
func (ErrorTrace) TraceExitEvents ¶
func (trace ErrorTrace) TraceExitEvents(exitEvents <-chan ExitEvent) ErrorTrace
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
func (*Pool) Client ¶
func (p *Pool) Client() PoolClient
type PoolClient ¶
type PoolClient interface { NewEntranceListener() <-chan EntranceEvent NewExitListener() <-chan ExitEvent Insert() chan<- Member CloseNotifier() <-chan struct{} Close() }
type StaticClient ¶
type StaticClient interface { NewEntranceListener() <-chan EntranceEvent NewExitListener() <-chan ExitEvent }
type StaticGroup ¶
type StaticGroup interface { ifrit.Runner Client() StaticClient }
func NewOrdered ¶
func NewOrdered(signal os.Signal, members []Member) StaticGroup
func NewParallel ¶
func NewParallel(signal os.Signal, members []Member) StaticGroup
func NewSerial ¶
func NewSerial(members []Member) StaticGroup
Click to show internal directories.
Click to hide internal directories.