Files
old-xmpploadtesting/main.go

20 lines
451 B
Go
Raw Normal View History

2021-09-14 19:25:37 +02:00
package main
import (
appConfig "github.com/xmpploadtesting/config"
xmppService "github.com/xmpploadtesting/services"
2021-09-14 19:25:37 +02:00
)
func main() {
// LOAD APPLICATION CONFIGURATION
appConfig.Load()
// Initialise XMPP service
xmppService.Init()
// Send online presence stanza
xmppServiceInstance := xmppService.Instance()
xmppService.SendOnlinePresenceStanza(xmppServiceInstance.XMPPClients[0].Client, xmppServiceInstance.XMPPClients[0].Config.Jid)
2021-09-14 19:25:37 +02:00
}