device

package
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ID

type ID string

ID is a device ID

type Role

type Role string

Role is a device role

type Type

type Type string

Type is a device type

type Version

type Version string

Version is a device version

type VersionedID

type VersionedID types.ID

VersionedID is a versioned device ID

func NewVersionedID

func NewVersionedID(id ID, version Version) VersionedID

NewVersionedID returns a new versioned device identifier

func (VersionedID) GetID

func (i VersionedID) GetID() ID

GetID returns the device ID

func (VersionedID) GetVersion

func (i VersionedID) GetVersion() Version

GetVersion returns the device version

Jump to

Keyboard shortcuts

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