Documentation ¶
Index ¶
Constants ¶
View Source
const Scheme = "matrix"
Scheme is the identifying part of this service's configuration URL
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { standard.EnumlessConfig User string `optional:"" url:"user" desc:"Username or empty when using access token"` Password string `url:"password" desc:"Password or access token"` DisableTLS bool `key:"disableTLS" default:"No"` Host string `url:"host"` Rooms []string `key:"rooms,room" optional:"" desc:"Room aliases, or with ! prefix, room IDs"` Title string `key:"title" default:""` }
Config is the configuration for the matrix service
type Service ¶
Service providing Matrix as a notification service
func (*Service) Initialize ¶
Initialize loads ServiceConfig from configURL and sets logger for this Service
Click to show internal directories.
Click to hide internal directories.