Documentation ¶
Index ¶
- type DeviceRepository
- func (this *DeviceRepository) GetAspectNode(id string) (result model.AspectNode, err error)
- func (this *DeviceRepository) GetDeviceType(id string) (result model.DeviceType, err error, code int)
- func (this *DeviceRepository) GetProtocol(id string) (result model.Protocol, err error)
- func (this *DeviceRepository) GetService(id string) (result model.Service, err error)
- func (this *DeviceRepository) GetServiceWithErrCode(id string) (result model.Service, err error, code int)
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 (*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 ¶
Click to show internal directories.
Click to hide internal directories.