package
2024.3.0+incompatible
Repository: https://github.com/hiveot/hub.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ConnectToHub helper function to connect to the Hub using existing token and key files.
HandleRequestMessage unmarshal a request message parameters, passes it to the associated method, and marshals the result.
NewHubClient returns a new Hub Client instance The keyPair string is optional.
NewHubClientFromTransport returns a new Hub Client instance for the given transport.

# Constants

KPFileExt defines the filename extension under which public/private keys are stored in the keys directory.
PubKeyFileExt defines the filename extension under which public key is stored in the keys directory.
TokenFileExt defines the filename extension under which client tokens are stored in the keys directory.

# Structs

HubClient wrapper around the underlying message bus transport.
ServiceContext with context provided to services.