Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

rzr/webthing-go

Repository files navigation

Codacy Badge

GitHub forkslicenseGitHub versionGoDocBuild StatuspullsAutomated BuildsBuild StatusGo Report Cardcodebeat badge

USAGE

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")

RESOURCES


[8]ページ先頭

©2009-2025 Movatter.jp