Documentation
¶
Index ¶
- func DispatchAPIKeyCreate(h hash.Hash, k key.APIKeyType) error
- func DispatchAPIKeyDelete(h hash.Hash, k key.APIKeyType) error
- func DispatchAuthKeyCreate(h hash.Hash, k key.AuthKeyType) error
- func DispatchAuthKeyDelete(h hash.Hash, k key.AuthKeyType) error
- func DispatchLocalDelivery(h hash.Hash, header *message.Header, msgID string) error
- func DispatchRemoteDelivery(h hash.Hash, header *message.Header, msgID string) error
- func DispatchWebhookCreate(h hash.Hash, wh webhook.Type) error
- func DispatchWebhookDelete(h hash.Hash, wh webhook.Type) error
- func DispatchWebhookUpdate(h hash.Hash, wh webhook.Type) error
- func InitDispatcher(c int)
- func Work(w webhook.Type, payload interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DispatchAPIKeyCreate ¶
func DispatchAPIKeyCreate(h hash.Hash, k key.APIKeyType) error
DispatchAPIKeyCreate dispatches event
func DispatchAPIKeyDelete ¶
func DispatchAPIKeyDelete(h hash.Hash, k key.APIKeyType) error
DispatchAPIKeyDelete dispatches event
func DispatchAuthKeyCreate ¶
func DispatchAuthKeyCreate(h hash.Hash, k key.AuthKeyType) error
DispatchAuthKeyCreate dispatches event
func DispatchAuthKeyDelete ¶
func DispatchAuthKeyDelete(h hash.Hash, k key.AuthKeyType) error
DispatchAuthKeyDelete dispatches event
func DispatchLocalDelivery ¶
DispatchLocalDelivery dispatches event
func DispatchRemoteDelivery ¶
DispatchRemoteDelivery dispatches event
func DispatchWebhookCreate ¶
DispatchWebhookCreate dispatches event
func DispatchWebhookDelete ¶
DispatchWebhookDelete dispatches event
func DispatchWebhookUpdate ¶
DispatchWebhookUpdate dispatches event
func InitDispatcher ¶
func InitDispatcher(c int)
InitDispatcher initializes the dispatcher system with the given number of workers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.