devicerepo

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceRepo

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

func New

func New(ctx context.Context, wg *sync.WaitGroup, config configuration.Config, auth *auth.Auth) (result *DeviceRepo, err error)

func (*DeviceRepo) GetAspectNode

func (this *DeviceRepo) GetAspectNode(id string) (result models.AspectNode, err error)

func (*DeviceRepo) GetCharacteristic

func (this *DeviceRepo) GetCharacteristic(id string) (result models.Characteristic, err error)

func (*DeviceRepo) GetConcept

func (this *DeviceRepo) GetConcept(id string) (result models.Concept, err error)

func (*DeviceRepo) GetConceptIdOfFunction

func (this *DeviceRepo) GetConceptIdOfFunction(id string) string

func (*DeviceRepo) GetFunction

func (this *DeviceRepo) GetFunction(id string) (result models.Function, err error)

func (*DeviceRepo) GetJson

func (this *DeviceRepo) GetJson(token string, endpoint string, result interface{}) (err error)

Jump to

Keyboard shortcuts

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