devicerepository

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceRepository

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

func New

func New(config config.Config, access *config.Access) (*DeviceRepository, error)

func (*DeviceRepository) GetAspectNode

func (this *DeviceRepository) GetAspectNode(id string) (result model.AspectNode, err error)

func (*DeviceRepository) GetDeviceType

func (this *DeviceRepository) GetDeviceType(id string) (result model.DeviceType, err error, code int)

func (*DeviceRepository) GetProtocol

func (this *DeviceRepository) GetProtocol(id string) (result model.Protocol, err error)

func (*DeviceRepository) GetService

func (this *DeviceRepository) GetService(id string) (result model.Service, err error)

func (*DeviceRepository) GetServiceWithErrCode

func (this *DeviceRepository) GetServiceWithErrCode(id string) (result model.Service, err error, code int)

Jump to

Keyboard shortcuts

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