Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 486 Bytes

File metadata and controls

10 lines (8 loc) · 486 Bytes

Example OpenChirp Device

This is a minimal program that serves as an OpenChirp device. A program like this is used as the underlying target of a single OpenChirp device. As an example, this device represents a physical door. You can request to open it and independently it reports it's open/closed status.

This example uses the OpenChirp Golang framework library.

Please see main.go to understand more about how services operate.