Exemple #1
0
func main() {
	err := goatee.CreateServer([]string{"chan1", "chan2"})

	if err != nil {
		log.Fatal("Error: ", err.Error())
	}
}
Exemple #2
0
func main() {
	server := goatee.CreateServer()
	server.RegisterAuthFunc(Authenticate)
	server.StartServer()
}