Documentation ¶
Index ¶
- func AddCustomerPurchase(custName, feature string, licenseCount, usagePeriod int) error
- func AddDevice(custName string, deviceFp string) (bool, bool)
- func AllocateLicense(custName, deviceFp, feature string) bool
- func DeviceHeartBeat(custName, deviceFp string, autoRealloc bool) (expiredLics []string, err error)
- func FreeLicense(custName, deviceFp, feature string) bool
- func GetCustomerNames() []string
- func InitLicenseDb(ctx Context) Context
- func IsValidCustomer(custName string) (status string, ok bool)
- func IsValidCustomerSecret(custName string, inSecret string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCustomerPurchase ¶
func AllocateLicense ¶
func DeviceHeartBeat ¶
func FreeLicense ¶
func GetCustomerNames ¶
func GetCustomerNames() []string
func InitLicenseDb ¶
func InitLicenseDb(ctx Context) Context
func IsValidCustomer ¶
func IsValidCustomerSecret ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.