go-xmpp/cmd/xmpp_component/xmpp_component.go

9 lines
162 B
Go
Raw Normal View History

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