Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *db.DB
View Source
var Data = &Events{}
View Source
var Logger *zap.Logger
View Source
var OldEventLinkHMAC string
View Source
var SaveFile = "events.json"
View Source
var SaveInterval = time.Minute
Functions ¶
func OldEventToolLink ¶
Types ¶
type Event ¶
type Event struct { sync.RWMutex ID string `json:"id"` NumID int `json:"numeric_id"` At time.Time `json:"at"` WhereID string `json:"where_slack_id"` Where string `json:"where"` Expiration time.Duration `json:"expiration"` Owner EventMember `json:"owner"` Members []EventMember `json:"members"` Title string `json:"title"` Description string `json:"description"` Created time.Time `json:"created"` Edited time.Time `json:"edited"` Audit []string `json:"audit_log"` // contains filtered or unexported fields }
func (*Event) MarshallJSON ¶
Click to show internal directories.
Click to hide internal directories.