Documentation
¶
Index ¶
- type OutputType
- type Recipient
- func Parse(etcdClient *etcd.Client, value string) []*Recipient
- func ParseMail(etcdClient *etcd.Client, value string) []*Recipient
- func ParseProject(etcdClient *etcd.Client, value string) []*Recipient
- func ParseSlack(etcdClient *etcd.Client, value string) []*Recipient
- func ParseXMPP(etcdClient *etcd.Client, value string) []*Recipient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OutputType ¶
type OutputType int
OutputType type of recipient
const ( OutputTypeNone OutputType = 0 OutputTypeMail OutputType = 1 OutputTypeXMPP OutputType = 2 OutputTypeSlack OutputType = 3 )
Output types
type Recipient ¶
type Recipient struct {
Type OutputType
ID string
Args map[string]string
}
Recipient recipient for notifications
func ParseProject ¶
ParseProject parse redmine project recipients
func ParseSlack ¶
ParseSlack parse mail recipients (OutputTypeSlack)
Click to show internal directories.
Click to hide internal directories.