1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-26 13:48:49 +08:00

Update example to use default Watchbot http port

This commit is contained in:
Adrian Zankich 2014-08-01 09:46:07 -07:00
parent 71c6a66049
commit a155efab14

View File

@ -10,7 +10,9 @@ import (
func main() {
gbot := gobot.NewGobot()
api.NewAPI(gbot).Start()
a := api.NewAPI(gbot)
a.Port = "8080"
a.Start()
pebbleAdaptor := pebble.NewPebbleAdaptor("pebble")
pebbleDriver := pebble.NewPebbleDriver(pebbleAdaptor, "pebble")