Skip to content

The Golang User, Device, and Service interface for the OpenChirp framework

License

Notifications You must be signed in to change notification settings

OpenChirp/framework

Folders and files

NameName
Last commit message
Last commit date
Dec 17, 2018
Feb 22, 2019
Nov 19, 2018
Oct 1, 2018
Dec 28, 2017
Oct 1, 2018
Dec 17, 2018
Jul 9, 2018
Sep 29, 2018
Nov 29, 2017
Oct 1, 2018
Jan 29, 2019
Sep 29, 2018
Sep 6, 2017
Sep 6, 2017

Repository files navigation

All Interfaces: Build Status

Main Interface: Godoc Go Report Card

REST Interface: Godoc Go Report Card

PubSub Interface: Godoc Go Report Card

Description

This is the Golang User, Device, and Service client library for the OpenChirp framework.

Structure

Top level functions

  • User client interfaces are created using framework.StartUserClient()
  • Device client interfaces are created using framework.StartDeviceClient()
  • Service client interfaces are created using framework.StartServiceClient()

The Client class serves as the parent class of all the above client interfaces and should not be directly used. The purpose of the clients are to provide a single uniform interface for all OpenChirp functionality. The client libraries combine the OpenChirp REST and PubSub protocols into a single abstraction.

REST

The pure http rest interface is exposed as the Golang rest package.

PubSub

The pure pubsub(MQTT) interface is exposed as the Golang pubsub package.

Utilities

The utils package holds functions and data structures commonly used across applications interfacing with OpenChirp.

Godoc