This repository has been archived on 2023-07-05. You can view files and clone it, but cannot push or open issues or pull requests.
clessy/stats/main.go

21 lines
319 B
Go
Raw Normal View History

2016-02-09 15:00:50 +00:00
package main
import (
"flag"
"github.com/hamcha/clessy/tg"
)
func process(broker *tg.Broker, update tg.APIMessage) {
}
func main() {
brokerAddr := flag.String("broker", "localhost:7314", "Broker address:port")
flag.Parse()
err := tg.CreateBrokerClient(*brokerAddr, process)
if err != nil {
panic(err)
}
}