Documentation ¶
Index ¶
- type DeviceRepo
- func (this *DeviceRepo) GetAspectNode(id string) (result models.AspectNode, err error)
- func (this *DeviceRepo) GetCharacteristic(id string) (result models.Characteristic, err error)
- func (this *DeviceRepo) GetConcept(id string) (result models.Concept, err error)
- func (this *DeviceRepo) GetConceptIdOfFunction(id string) string
- func (this *DeviceRepo) GetFunction(id string) (result models.Function, err error)
- func (this *DeviceRepo) GetJson(token string, endpoint string, result interface{}) (err error)
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)
Click to show internal directories.
Click to hide internal directories.