Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrWaitTimeout = fmt.Errorf("wait timeout") ErrProcessExists = fmt.Errorf("process exists") )
Err define
View Source
var MsgChan = make(chan string, 3)
Functions ¶
func SubscribeChannel ¶
Types ¶
type DistHandler ¶
type DistHandler struct {
// contains filtered or unexported fields
}
func (*DistHandler) SendCallback ¶
func (dh *DistHandler) SendCallback(receiver *metadata.Subscription, event string) (err error)
func (*DistHandler) StartDistribute ¶
func (dh *DistHandler) StartDistribute() (err error)
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
func (*EventHandler) GetDistInst ¶
func (eh *EventHandler) GetDistInst(e *metadata.EventInst) []metadata.DistInst
func (*EventHandler) SaveEventDone ¶
func (eh *EventHandler) SaveEventDone(event *metadata.EventInstCtx) (err error)
func (*EventHandler) StartHandleInsts ¶
func (eh *EventHandler) StartHandleInsts() (err error)
Click to show internal directories.
Click to hide internal directories.