package
2.1.0+incompatible
Repository: https://github.com/thethingsnetwork/go-account-lib.git
Documentation: pkg.go.dev

# Functions

New creates a new account that will use no authentication.
NewWithAccessToken creates a new account client that will use the accessToken to make requests to the specified account server.
NewWithBasicAuth creates an account client that uses basic authentication.
NewWithKey creates an account client that uses an accessKey to authenticate.
NewWithManager creates a new account client that will use the accessToken to make requests to the specified account server and the manager to request new tokens for different scopes.
NewWithPublic creates an account client that does not use authentication.

# Constants

AuthorizationCode represents the OAuth 2.0 authorization code grant.
Broker is the type of a broker component.
Handler is the type of a handler component.
Indoor represents an indoor gateway.
Outdoor represents an outdoor gateway.
Password represents the OAuth 2.0 password grant.
RefreshToken represents the OAuth 2.0 refresh token grant.
Router is the type of a router component.

# Structs

Account is a client to an account server.
Application represents an application on The Things Network.
ApplicationStream is a stream of applications that can be closed.
Collaborator is a user that has rights to a certain application.
Component represents a component on the newtork.
FrequencyPlan is the frequency plan used by a gateway.
Gateway represents a gateway on the account server.
GatewayAttributes represents attributes of a gateway.
GatewayEdits contains editable fields of gateways.
GatewayRouter is the description of a router that the gateway should connect to.
GatewaySettings represents settings that can be changed on a gateway.
GatewayStream is a stream of gateways that can be closed.
Location is the GPS location.
Name represents the full name of a user.
OAuthClient represents a user-created OAuth client.
Profile represents the profile of a user.

# Type aliases

ComponentType represents the type of a component.
Grant is an OAuth grant.
Placement is represents antenna placement.