Documentation
¶
Index ¶
- func RegisterGlobalSystem(name string, p PidSystem)
- type MandrillPID
- func (pid *MandrillPID) ExitChan() chan bool
- func (pid *MandrillPID) GetValue(name string, v interface{}) bool
- func (pid *MandrillPID) Kill()
- func (pid *MandrillPID) PutValue(name string, v interface{})
- func (pid *MandrillPID) Read() []interface{}
- func (pid *MandrillPID) Read1(v interface{}) bool
- func (pid *MandrillPID) Read2(v1, v2 interface{}) bool
- func (pid *MandrillPID) Read3(v1, v2, v3 interface{}) bool
- func (pid *MandrillPID) Send(message []interface{}) error
- func (pid *MandrillPID) Send1(m interface{}) error
- func (pid *MandrillPID) Send2(m1 interface{}, m2 interface{}) error
- func (pid *MandrillPID) Send3(m1 interface{}, m2 interface{}, m3 interface{}) error
- func (pid *MandrillPID) Stats() chan Stat
- type PID
- type PIDList
- type PidSystem
- type Stat
- type StatConsumer
- type StatNullCollector
- type Statistic
- type System
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGlobalSystem ¶
Types ¶
type MandrillPID ¶
type MandrillPID struct {
// contains filtered or unexported fields
}
func (*MandrillPID) ExitChan ¶
func (pid *MandrillPID) ExitChan() chan bool
func (*MandrillPID) GetValue ¶
func (pid *MandrillPID) GetValue(name string, v interface{}) bool
func (*MandrillPID) Kill ¶
func (pid *MandrillPID) Kill()
func (*MandrillPID) PutValue ¶
func (pid *MandrillPID) PutValue(name string, v interface{})
func (*MandrillPID) Read ¶
func (pid *MandrillPID) Read() []interface{}
func (*MandrillPID) Read1 ¶
func (pid *MandrillPID) Read1(v interface{}) bool
func (*MandrillPID) Read2 ¶
func (pid *MandrillPID) Read2(v1, v2 interface{}) bool
func (*MandrillPID) Read3 ¶
func (pid *MandrillPID) Read3(v1, v2, v3 interface{}) bool
func (*MandrillPID) Send ¶
func (pid *MandrillPID) Send(message []interface{}) error
func (*MandrillPID) Send1 ¶
func (pid *MandrillPID) Send1(m interface{}) error
func (*MandrillPID) Send2 ¶
func (pid *MandrillPID) Send2(m1 interface{}, m2 interface{}) error
func (*MandrillPID) Send3 ¶
func (pid *MandrillPID) Send3(m1 interface{}, m2 interface{}, m3 interface{}) error
func (*MandrillPID) Stats ¶
func (pid *MandrillPID) Stats() chan Stat
type PID ¶
type PID interface { Kill() Send(message []interface{}) error Send1(m interface{}) error Send2(m1, m2 interface{}) error Send3(m1, m2, m3 interface{}) error Read() []interface{} Read1(v interface{}) bool Read2(v1, v2 interface{}) bool Read3(v1, v2, v3 interface{}) bool Stats() chan Stat ExitChan() chan bool PutValue(name string, item interface{}) GetValue(name string, v interface{}) bool }
type PidSystem ¶
type PidSystem interface { Register(string, PID) Find(string) PID Spawn(string, int, int, map[string]interface{}, func(PID, PidSystem) bool) PID SpawnDefault(descriptor string, boundFunc func(PID, PidSystem) bool) PID }
func DefaultSystem ¶
func DefaultSystem() PidSystem
func FindSystem ¶
type StatConsumer ¶
type StatConsumer interface {
Consume(ch chan Stat)
}
type StatNullCollector ¶
type StatNullCollector struct { }
func (*StatNullCollector) Consume ¶
func (col *StatNullCollector) Consume(ch chan Stat)
Click to show internal directories.
Click to hide internal directories.