Initial commit #1

Merged
senaduka merged 16 commits from initial-commit into main 2021-09-20 12:53:21 +02:00
Showing only changes of commit 1fda2c4506 - Show all commits

View File

@@ -36,19 +36,6 @@ func Init() {
// TODO load configs and init clients from the config file
xmppService = XMPPService{
Router: xmpp.NewRouter(),
// Configs: []xmpp.Config{
// {
// TransportConfiguration: xmpp.TransportConfiguration{
// Address: appConfig.AppConfig.Service.Address + ":" + appConfig.AppConfig.Service.Port,
// Domain: appConfig.AppConfig.Service.Domain,
// TLSConfig: &tls.Config{InsecureSkipVerify: true},
// },
// Jid: "admin@localhost",
// Credential: xmpp.Password("openadmin123"),
// StreamLogger: os.Stdout,
// Insecure: true,
// },
// },
}
xmppService.Router.HandleFunc("message", handleMessage)