aboutsummaryrefslogtreecommitdiff
path: root/connector/xmpp/config.go
blob: a5306b4c693bad9c6409a837175930dad83f7ac2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package xmpp

import (
	. "git.deuxfleurs.fr/Deuxfleurs/easybridge/connector"
)

func init() {
	Register("xmpp", ConfigSchema{
		&ConfigEntry{
			Name:        "jid",
			Description: "JID",
			Required:    true,
		},
		&ConfigEntry{
			Name:        "password",
			Description: "Password",
			Required:    true,
			IsPassword:  true,
		},
		&ConfigEntry{
			Name:        "nickname",
			Description: "Nickname in MUCs",
			Required:    true,
		},
		&ConfigEntry{
			Name:        "port",
			Description: "Port",
			IsNumeric:   true,
			Default:     "5222",
		},
		&ConfigEntry{
			Name:        "ssl",
			Description: "Use SSL",
			IsBoolean:   true,
			Default:     "true",
		},
	})
}