io4edge Go Client Library

Installation

Either

go get github.com/moducop/io4edge-client-go

or put the following in your go.mod file:

require github.com/moducop/io4edge-client-go vx.y.z

Usage

In your code, import the library:

import "github.com/moducop/io4edge-client-go"

Usage from containers

To access io4edge devices via mdns service name, mount dbus and avahi daemon socket into container:

For example:

docker run -v /var/run/dbus:/var/run/dbus -v /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket <your image>