Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DB_HANDLE *gorm.DB EnvBot *ModelEnvBot DATABASE_NAME = "owlly.db" SLACK_EVENT = map[string]string{ "update": "SLACK_UPDATE_EVENT", "delete": "SLACK_DELETE_EVENT", } AUTH_EVENT = map[string]string{ "sign-up": "AUTH_SIGN_UP_EVENT", "sign-in": "AUTH_SIGN_IN_EVENT", "logout": "AUTH_LOGOUT_EVENT", } )
Functions ¶
Types ¶
type ModelEmailUser ¶
type ModelEnvBot ¶
type ModelEnvBot struct { gorm.Model TriggerName string `gorm:"not null" json:"triggerName"` SlackBotOauthToken string `gorm:"unique;not null" json:"slackBotOauthToken"` SlackChannelID string `gorm:"not null" json:"slackChannelID"` SlackUserID string `gorm:"not null" json:"slackUserID"` SlackUserName string `gorm:"not null" json:"slackUserName"` }
Click to show internal directories.
Click to hide internal directories.