modulepackage
5.0.1+incompatible
Repository: https://github.com/raptorbox/raptor-sdk-go.git
Documentation: pkg.go.dev
# README
Golang Raptor SDK
SDK for Raptor IoT platform (v5
)
Usage
See ./*_test.go
files for usage examples
Install dependencies
dep ensure
# Packages
No description provided by the author
# Functions
CreateAction instantiate a new API client.
CreateAdmin instantiate a new API client.
CreateApp instantiate a new API client.
CreateAuth instantiate a new API client.
CreateDevicePermission instantiate a new API client.
CreateInventory instantiate a new API client.
CreatePermission instantiate a new API client specifying a subject.
CreateProfile instantiate a new API client.
CreateStream instantiate a new API client.
CreateToken instantiate a new API client.
CreateTokenPermission instantiate a new API client.
CreateTree instantiate a new API client.
CreateTreeNodePermission instantiate a new API client.
CreateUser instantiate a new API client.
DefaultClientOptions create default client options.
FromJSON convert a raw value to a model.
LoadModelFromFile load a model from a JSON file.
LoadModelFromString load a config from a JSON string.
New create a new SDK instance.
NewConfigFromFile load a config from a JSON file.
NewConfigFromString load a config from a JSON string.
NewDefaultClient initialize a default client.
NewFromConfig create a new Raptor instance from a provided Config.
NewFromCredentials create a new Raptor instance using username & password authentication.
NewFromToken create a new Raptor instance using token authentication.
ToJSON convert the model to JSON string.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SubjectTypeDevice device type subject.
SubjectTypeToken token type subject.
SubjectTypeTreeNode tree node type subject.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Action API client.
Admin API client.
App API client.
Auth API client.
BrokerConnection track connection status to the broker.
Config a client configuration.
DefaultClient IClient default implementation.
GenericPermission API client abstract per subject ACL permission management.
Inventory API client.
Profile API client.
Raptor the SDK API wrapper.
Stream API client.
Token API client.
Tree API client.
User API client.
# Interfaces
Permission API client interface.
# Type aliases
SubjectType a subject for ACL enforcement.