SDKs

Go SDK

2min

Go SDK provides methods to call LicenseSpring APIs directly from Go.

The SDK is publicly available and can be found here.

Installation:

go get -u gitlab.com/l3178/sdk-go/...

Specific Versions:

If you want to install a specific version, see the list of versions here. You should preferably always use the latest one.

Usage Examples:

Usage examples for Go License Client and Management Client can be found on these docs. Another good source of examples are tests.

Managing API and Shared Keys in the SDK

The SDK requires the end-user to provide an API key and a shared key for its operation. How these credentials are supplied and managed is up to the user, as it plays a critical role in ensuring security.

While our samples demonstrate using configuration files for convenience, this is only one possible approach. Users may opt for other secure methods, such as environment variables or secret management tools, based on their needs. Regardless of the method chosen, it is essential to implement safeguards to prevent unauthorized access or accidental exposure, especially in public repositories or shared environments.



Updated 18 Oct 2024
Doc contributor
Doc contributor
Doc contributor
Did this page help you?