-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodels.go
More file actions
29 lines (25 loc) · 819 Bytes
/
models.go
File metadata and controls
29 lines (25 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Datastore models.
package main
import "time"
type AccessTokens struct {
Email string
AccessToken string // Access token of Trello
}
type Webhook struct {
Handler string `json:"handler"`
User string `json:"-"`
Type string `json:"type"`
BoardId string `json:"board_id"`
BoardName string `json:"board_name"`
ListId string `json:"list_id"`
ListName string `json:"list_name"`
TeleChatId int `json:"tele_chat_id"`
TeleChatName string `json:"tele_name"`
POUserKey string `json:"-"`
HCToken string `json:"-"`
HCRoomId string `json:"room"`
Date time.Time `json:"date"`
Count int `json:"count"`
SlackUrl string `json:"slack_url"`
SlackChannel string `json:"slack_channel"`
}