go-xmpp/cmd/xmpp_component/xmpp_component.go

9 lines
162 B
Go
Raw Normal View History

2018-01-11 21:15:54 +00:00
package main
import "fluux.io/xmpp"
func main() {
2018-01-12 17:14:41 +00:00
component := xmpp.Component{Host: "mqtt.localhost", Secret: "mypass"}
component.Connect("localhost:8888")
2018-01-11 21:15:54 +00:00
}