Documentation ¶
Overview ¶
Package devicerepository allows to fetch device data from the Device Repository.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client provides a device repository through a fetcher.
func (Client) Brands ¶
func (c Client) Brands() (map[string]ttnpb.EndDeviceBrand, error)
Brands fetches and parses the list of brands.
func (Client) DeviceModels ¶
DeviceModels fetches and parses the list of device models.
func (Client) DeviceVersions ¶
func (c Client) DeviceVersions(brandID, modelID string) ([]ttnpb.EndDeviceVersion, error)
DeviceVersions fetches and parses the list of device versions.
Click to show internal directories.
Click to hide internal directories.