package main import ( "html/template" "time" ) const ( NotificationPartitionIndex = 0 httpTimeout = 1 * time.Second ) type Sender interface { Send(msg GenericMessage, tpl *template.Template) error } type Sleeper interface { Sleep(ch chan<- interface{}) } type MatterbridgeMessage struct { Text string `json:"text"` Username string `json:"username"` Gateway string `json:"gateway"` }