Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeWorker = "worker" TypePBX = "pbx" TypeTaskQueue = "taskQueue" TypeCron = "cron" TypeFileStore = "fileStore" TypeQueue = "queue" PortWorker = "1234" PortPBX = "1234" PortTaskQueue = "1234" )
Variables ¶
This section is empty.
Functions ¶
func OnCreate ¶
func OnCreate(fn func(Service))
OnCreate pass handler func, that will call when new service will created
func OnDelete ¶
func OnDelete(fn func(Service))
OnDelete pass handler func, that will call when existing service will deleted
func OnUpdate ¶
func OnUpdate(fn func(Service))
OnUpdate pass handler func, that will call when existing service will created
Types ¶
type RegisterMessage ¶
type RegisterMessage struct {
Type string `json:"type"`
}
Click to show internal directories.
Click to hide internal directories.