aboutsummaryrefslogblamecommitdiff
path: root/connector/xmpp/config.go
blob: 6fd5f9b5612460bee95b9ddfcf24600589c8203f (plain) (tree)





































                                                             
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:     "6667",
		},
		&ConfigEntry{
			Name:        "ssl",
			Description: "Use SSL",
			IsBoolean:   true,
			Default:     "true",
		},
	})
}