azure-golang-iothub

command module
v0.0.0-...-32720df Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2018 License: MIT Imports: 4 Imported by: 0

README

azure-golang-iot-hub

Experimental (minimalistic) Azure IoT Hub client in Go (HTTPS only). This has been tested using Go version 1.8.5 on a linux/amd64 architecture.

TODO

  • Device registration/enumeration
  • Device-to-cloud messages
  • HTTP connection re-use
  • Proper testing, built-in example reading connection string from environment variable
  • Support both named and unnamed (DeviceId) connection strings
  • Refactor as library
  • Implement AMQP client

HOWTO

export CONNECTION_STRING='HostName=myhub.azure-devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=SxiN78h8tdN3yQXMBhmV193ZxKWBHhmJptGcvheA3dg='
make run

or...

export CONNECTION_STRING='HostName=myhub.azure-devices.net;DeviceId=testdevice;SharedAccessKey=SxiN78h8tdN3yQXMBhmV193ZxKWBHhmJptGcvheA3dg='
make run

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package iothub allows to connect to the Azure IotHub REST API
Package iothub allows to connect to the Azure IotHub REST API

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL