Documentation ¶
Index ¶
Constants ¶
View Source
const ( IntegrationGeneric IntegrationType = 0 IntegrationMattermost IntegrationType = 1 IntegrationSlack IntegrationType = 2 IntegrationNtfy IntegrationType = 3 IntegrationTeams IntegrationType = 4 MinTypeID int64 = int64(IntegrationGeneric) MaxTypeID int64 = int64(IntegrationTeams) EventFormFinished EventType = "form.finished" )
Variables ¶
This section is empty.
Functions ¶
func NewIntegration ¶ added in v0.1.8
func NewIntegration() *adapterService
Types ¶
type InputChoiceNode ¶ added in v0.2.5
type InputContactNode ¶ added in v0.2.1
type InputFormFinished ¶ added in v0.2.1
type InputFormFinished struct { LinkText string LinkUrl string Title string FormTranslation string Nodes []InputFormFinishedNode Contact *InputContactNode }
type InputFormFinishedNode ¶ added in v0.2.1
type InputFormFinishedNode struct { Relation int64 NodeType int64 NodeTranslation string ContactNode InputContactNode SelectNode InputSelectNode RatingNode InputRatingNode ChoiceNode InputChoiceNode }
type InputRatingNode ¶ added in v0.2.1
type InputSelectNode ¶ added in v0.2.1
type IntegrationDetailMap ¶ added in v0.1.8
type IntegrationDetailMap map[IntegrationType]adapterDetail
type IntegrationInterface ¶ added in v0.1.8
type IntegrationInterface interface { MapWebhook(input interface{}, adapterType IntegrationType, eventType EventType) (*Webhook, error) GetIntegrationDetails() IntegrationDetailMap }
type IntegrationType ¶ added in v0.1.8
type IntegrationType int64
Click to show internal directories.
Click to hide internal directories.