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