axlicense

package
v1.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package axlicense provides a Go wrapper around the Axis License Key library, facilitating license verification and management for ACAP applications.

Usage Notes:

- The application name passed to the license verification functions must match the `APPNAME` specified in the application's `package.conf`. - The application ID is assigned by Axis and must match the `APPID` also specified in `package.conf`. - Major and minor version numbers should correspond to those declared in the application's configuration, aligning with `APPMAJORVERSION` and `APPMINORVERSION`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LicensekeyGetExpDate

func LicensekeyGetExpDate(app_name string) (time.Time, error)

TODO: Bring this to work

func LicensekeyVerify

func LicensekeyVerify(app_name string, app_id int, major_version int, minor_version int) (valid bool)

https://axiscommunications.github.io/acap-documentation/docs/acap-sdk-version-3/api/src/api/licensekey/html/licensekey_8h.html License requires to enable them in mainfest, and an APPID registerd at AXIS to create Licenses for the application

"copyProtection": {
	"method": "axis"
}

Portal Link: https://www.axis.com/partner_pages/compatible_applications/

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL