Documentation ¶
Index ¶
- Variables
- type Client
- type Option
- type OptionFunc
- type Tokens
- func (t *Tokens) Add(name string, capabilities ...string) (*objects.TokenInfo, error)
- func (t *Tokens) Get(token string) (*objects.TokenInfo, error)
- func (t *Tokens) List() ([]objects.TokenInfo, error)
- func (t *Tokens) Remove(token string) error
- func (t *Tokens) Update(token, newName string, renew bool) (*objects.TokenInfo, error)
- type Uplinks
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultServerURL *url.URL
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an API client for the LoRa Cloud Device Management v1 service.
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option is an option for the API client.
func WithBaseURL ¶ added in v3.9.0
WithBaseURL uses the given base URL for the requests of the client.
type Tokens ¶
type Tokens struct {
// contains filtered or unexported fields
}
Tokens is an API client for the Token Management API.
type Uplinks ¶
type Uplinks struct {
// contains filtered or unexported fields
}
Uplinks is an API client for the Uplink API.
func (*Uplinks) Send ¶
func (u *Uplinks) Send(uplinks objects.DeviceUplinks) (objects.DeviceUplinkResponses, error)
Send sends the given uplink to the Device Management service.
Click to show internal directories.
Click to hide internal directories.