device

package
v0.0.0-...-b35749e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceCommandType

type DeviceCommandType string
const (
	DeviceCommandGet    DeviceCommandType = "get"
	DeviceCommandAdd    DeviceCommandType = "add"
	DeviceCommandRemove DeviceCommandType = "remove"
)

type IDeviceCommand

type IDeviceCommand interface {
	ToMap() map[string]interface{}
	GetType() DeviceCommandType
}

type IDeviceResponse

type IDeviceResponse interface {
	GetType() DeviceCommandType
	SetError(err error)
	GetError() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL