- Notifications
You must be signed in to change notification settings - Fork0
License
NotificationsYou must be signed in to change notification settings
rzr/webthing-go
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
To get started look at"example" directory:
go version#| go version go1.10.4 linux/amd64go get github.com/rzr/webthing-gocd~/go/src/github.com/rzr/webthing-gogo run example/simplest-webthing-go/simplest-thing.go#| Listening: :8888curl http://localhost:8888/properties#| {"on":false}curl -X PUT --data'{"on": true}' http://localhost:8888/properties/on#| {"on":true}curl http://localhost:8888/properties/on#| {"on":true}curl http://localhost:8888| jq -M.#| { ...#| "title": "ActuatorExample"#| }
To import published module just use this alias:
import (webthing"github.com/rzr/webthing-go")