Documentation
¶
Index ¶
- func AddIntegrationEvent(theAccount *v2.AccountSchema, eventType v2.IntegrationEventType, ...) error
- func BuildDiscordEventPayload(eventType v2.IntegrationEventType, payload interface{}) (*discordwebhook.Message, error)
- func GetAccountIntegrationsWithEventType(theAccount *v2.AccountSchema, eventType v2.IntegrationEventType) ([]*v2.AccountIntegrationSchema, error)
- func GetMyAccountIntegrationsEvents(integrationId bson.ObjectID) ([]v2.IntegrationEventSchema, error)
- func InitIntegrationService() error
- func ShutdownIntegrationService() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddIntegrationEvent ¶
func AddIntegrationEvent(theAccount *v2.AccountSchema, eventType v2.IntegrationEventType, payload interface{}) error
func BuildDiscordEventPayload ¶
func BuildDiscordEventPayload(eventType v2.IntegrationEventType, payload interface{}) (*discordwebhook.Message, error)
func GetAccountIntegrationsWithEventType ¶
func GetAccountIntegrationsWithEventType(theAccount *v2.AccountSchema, eventType v2.IntegrationEventType) ([]*v2.AccountIntegrationSchema, error)
func GetMyAccountIntegrationsEvents ¶
func GetMyAccountIntegrationsEvents(integrationId bson.ObjectID) ([]v2.IntegrationEventSchema, error)
func InitIntegrationService ¶
func InitIntegrationService() error
func ShutdownIntegrationService ¶
func ShutdownIntegrationService() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.