Documentation
¶
Index ¶
- func ListDir(co *wotco.WotConsumer)
- func ListThings(tdList []*td.TD)
- func ShowDiscovery(co *wotco.WotConsumer, verbose bool)
- func ShowStatus(co *wotco.WotConsumer, thingID string, subscribe bool)
- func ShowTD(co *wotco.WotConsumer, thingID string)
- func Subscribe(co *wotco.WotConsumer, thingID string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListDir ¶
func ListDir(co *wotco.WotConsumer)
func ShowDiscovery ¶
func ShowDiscovery(co *wotco.WotConsumer, verbose bool)
discover things and directories on the network
if readDir is true then try to read the directory content/hivekit/go/examples/wotco"
func ShowStatus ¶
func ShowStatus(co *wotco.WotConsumer, thingID string, subscribe bool)
Show the status of a Thing
thingID whose status to show subscribe to property updates and events
func ShowTD ¶
func ShowTD(co *wotco.WotConsumer, thingID string)
Display the TD of a discovered Thing
func Subscribe ¶
func Subscribe(co *wotco.WotConsumer, thingID string)
subscribe to events and observe properties
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.