Exemplo n.º 1
0
Arquivo: main.go Projeto: j7/goatee
func main() {
	err := goatee.CreateServer([]string{"chan1", "chan2"})

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