Documentation ¶
Index ¶
- Constants
- type EventAction
- type Handler
- func (h *Handler) CallbackEvent(event slackevents.EventsAPIEvent) error
- func (h *Handler) ConnectDB() (*sql.DB, error)
- func (h *Handler) GetIncident(incident_id string) *data.Incident
- func (h *Handler) GetIncidentId(chat_room string, matches []string) string
- func (h *Handler) GetUserName(user_id string) string
- func (h *Handler) InIncidentChatroom(chat_room string) string
- func (h *Handler) LogEvent(incident_id string, user string, action string, description string) bool
Constants ¶
View Source
const TICK = "`"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventAction ¶
type EventAction struct { Event *slackevents.MessageEvent Action string }
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) CallbackEvent ¶
func (h *Handler) CallbackEvent(event slackevents.EventsAPIEvent) error
func (*Handler) GetIncidentId ¶
func (*Handler) GetUserName ¶
func (*Handler) InIncidentChatroom ¶
Click to show internal directories.
Click to hide internal directories.