package
0.0.0-20220510143344-34aea0c166e3
Repository: https://github.com/everactive/iot-devicetwin.git
Documentation: pkg.go.dev
# Functions
NewService returns a new web controller.
# Constants
JSONHeader is the header for JSON responses.
UserCreateAction represents the action of creating a user.
UserRemoveAction represents the action of removing a user.
# Structs
ActionsResponse is the JSON response to list actions for a device.
DeviceResponse is the JSON response to get a device.
DevicesResponse is the JSON response to list devices.
GroupResponse is the JSON response to list groups.
GroupsResponse is the JSON response to list groups.
Service is the implementation of the web API.
SnapsResponse is the JSON response to list snaps.
StandardResponse is the JSON response from an API method, indicating success or failure.