device

package
v0.0.0-...-45eb8e3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	// contains filtered or unexported fields
}

func NewDevice

func NewDevice() *Device

func (Device) MarshalBinary

func (d Device) MarshalBinary() ([]byte, error)

func (*Device) MarshalJSON

func (d *Device) MarshalJSON() ([]byte, error)

func (*Device) Print

func (d *Device) Print()

func (*Device) SetValue

func (d *Device) SetValue(v int32)

func (*Device) UnmarshalBinary

func (d *Device) UnmarshalBinary(data []byte) error

func (*Device) UnmarshalJSON

func (d *Device) UnmarshalJSON(data []byte) error

func (*Device) Value

func (d *Device) Value() int32

Jump to

Keyboard shortcuts

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