Documentation ¶
Index ¶
- Variables
- func GetDistInst(e *types.EventInst) []types.DistInst
- func SaveEventDone(event *types.EventInstCtx) (err error)
- func SendCallback(receiver *types.Subscription, event string) (err error)
- func Start() error
- func StartDistribute() (err error)
- func StartHandleInsts() (err error)
- func SubscribeChannel(config map[string]string) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ERR_WAIT_TIMEOUT = fmt.Errorf("wait timeout") ERR_PROCESS_EXISTS = fmt.Errorf("process exists") )
View Source
var MsgChan = make(chan string, 3)
Functions ¶
func SaveEventDone ¶
func SaveEventDone(event *types.EventInstCtx) (err error)
func SendCallback ¶
func SendCallback(receiver *types.Subscription, event string) (err error)
func StartDistribute ¶
func StartDistribute() (err error)
func StartHandleInsts ¶
func StartHandleInsts() (err error)
StartHandleInsts distribute events to distribute queue
func SubscribeChannel ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.