func main() { err := goatee.CreateServer([]string{"chan1", "chan2"}) if err != nil { log.Fatal("Error: ", err.Error()) } }
func main() { server := goatee.CreateServer() server.RegisterAuthFunc(Authenticate) server.StartServer() }