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:
parent
71c6a66049
commit
a155efab14
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user