Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rzr/webthing-go
http://purl.org/webthing-go
https://github.com/rzr/webthing-go
go iot json rest-api webthing webthings wot
Last synced: 11 days ago
JSON representation
http://purl.org/webthing-go
- Host: GitHub
- URL: https://github.com/rzr/webthing-go
- Owner: rzr
- License: mpl-2.0
- Created: 2019-08-07T11:57:43.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-28T14:42:08.000Z (about 5 years ago)
- Last Synced: 2024-05-02T06:11:33.941Z (6 months ago)
- Topics: go, iot, json, rest-api, webthing, webthings, wot
- Language: Go
- Size: 39.1 KB
- Stars: 8
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-web-of-things - Go - by rzr (Section / Libraries)
README
# WEBTHING-GO #
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/ced7751cfabf4bf9af168c24b173d422)](https://app.codacy.com/app/rzr/webthing-go?utm_source=github.com&utm_medium=referral&utm_content=rzr/webthing-go&utm_campaign=Badge_Grade_Dashboard)
[![GitHub forks](
https://img.shields.io/github/forks/rzr/webthing-go.svg?style=social&label=Fork&maxAge=2592000
)](
https://GitHub.com/rzr/webthing-go/network/
)
[![license](
https://img.shields.io/badge/license-MPL--2.0-blue.svg
)](LICENSE)
[![GitHub version](
https://badge.fury.io/gh/rzr%2Fwebthing-go.svg
)](
http://badge.fury.io/gh/rzr%2Fwebthing-go
)
[![GoDoc](
https://godoc.org/github.com/rzr/webthing-go?status.svg
)](
http://godoc.org/github.com/rzr/webthing-go
)
[![Build Status](
https://travis-ci.org/rzr/webthing-go.svg?branch=master
)](
https://travis-ci.org/rzr/webthing-go
)
[![pulls](
https://img.shields.io/docker/pulls/rzrfreefr/webthing-go.svg
)](
https://cloud.docker.com/repository/docker/rzrfreefr/webthing-go
)
[![Automated Builds](
https://img.shields.io/docker/cloud/automated/rzrfreefr/webthing-go.svg
)](
https://cloud.docker.com/repository/docker/rzrfreefr/webthing-go/timeline
)
[![Build Status](
https://img.shields.io/docker/cloud/build/rzrfreefr/webthing-go.svg
)](
https://cloud.docker.com/repository/docker/rzrfreefr/webthing-go/builds
)
[![Go Report Card](
https://goreportcard.com/badge/github.com/rzr/webthing-go
)](
https://goreportcard.com/report/github.com/rzr/webthing-go
)
[![codebeat badge](
https://codebeat.co/badges/f6061081-0f1b-4791-9bef-b439eb379cbc
)](
https://codebeat.co/projects/github-com-rzr-webthing-go-master
)## USAGE ##
To get started look at ["example" directory](./example):
```sh
go version
#| go version go1.10.4 linux/amd64go get github.com/rzr/webthing-go
cd ~/go/src/github.com/rzr/webthing-go
go 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:
```go
import (
webthing "github.com/rzr/webthing-go"
)
```## RESOURCES ##
*
*
*
*