Documentation ¶
Overview ¶
Package zlmgo provides Go bindings to the Zen License Manager (ZLM).
Index ¶
- func HostidJSON() (string, error)
- func Version() string
- type License
- func (license *License) CheckA()
- func (license *License) CheckB()
- func (license *License) CheckC()
- func (license *License) CheckD()
- func (license *License) CheckE()
- func (license *License) CheckF()
- func (license *License) CheckG()
- func (license *License) CheckH()
- func (license *License) CheckI()
- func (license *License) CheckJ()
- func (license *License) CheckK()
- func (license *License) CheckL()
- func (license *License) CheckM()
- func (license *License) CheckN()
- func (license *License) CheckO()
- func (license *License) CheckP()
- func (license *License) CheckQ()
- func (license *License) CheckR()
- func (license *License) Customer() string
- func (license *License) Expiry() string
- func (license *License) ExpiryDays() int
- func (license *License) Get(product, version, argv0, path, licenseString string) error
- func (license *License) Next() error
- func (license *License) NotExpired() error
- func (license *License) Product() string
- func (license *License) Userdata() string
- func (license *License) UserdataUnescaped() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HostidJSON ¶
HostidJSON wraps zlm_hostid_json(), see https://zenlicensemanager.com/documentation/#API
func Version ¶
func Version() string
Version wraps zlm_version(), see https://zenlicensemanager.com/documentation/#API
Types ¶
type License ¶
type License struct {
// contains filtered or unexported fields
}
License wraps a ZLM license object.
func LicenseNew ¶
func LicenseNew() *License
LicenseNew returns a new license object (panics if not enough memory is available).
func (*License) CheckA ¶
func (license *License) CheckA()
CheckA wraps zlm_license_check_a(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckB ¶
func (license *License) CheckB()
CheckB wraps zlm_license_check_b(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckC ¶
func (license *License) CheckC()
CheckC wraps zlm_license_check_c(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckD ¶
func (license *License) CheckD()
CheckD wraps zlm_license_check_d(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckE ¶
func (license *License) CheckE()
CheckE wraps zlm_license_check_e(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckF ¶
func (license *License) CheckF()
CheckF wraps zlm_license_check_f(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckG ¶
func (license *License) CheckG()
CheckG wraps zlm_license_check_g(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckH ¶
func (license *License) CheckH()
CheckH wraps zlm_license_check_h(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckI ¶
func (license *License) CheckI()
CheckI wraps zlm_license_check_i(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckJ ¶
func (license *License) CheckJ()
CheckJ wraps zlm_license_check_j(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckK ¶
func (license *License) CheckK()
CheckK wraps zlm_license_check_k(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckL ¶
func (license *License) CheckL()
CheckL wraps zlm_license_check_l(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckM ¶
func (license *License) CheckM()
CheckM wraps zlm_license_check_m(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckN ¶
func (license *License) CheckN()
CheckN wraps zlm_license_check_n(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckO ¶
func (license *License) CheckO()
CheckO wraps zlm_license_check_o(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckP ¶
func (license *License) CheckP()
CheckP wraps zlm_license_check_p(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckQ ¶
func (license *License) CheckQ()
CheckQ wraps zlm_license_check_q(), see https://zenlicensemanager.com/documentation/#API
func (*License) CheckR ¶
func (license *License) CheckR()
CheckR wraps zlm_license_check_r(), see https://zenlicensemanager.com/documentation/#API
func (*License) Customer ¶
Customer wraps zlm_license_customer(), see https://zenlicensemanager.com/documentation/#API
func (*License) Expiry ¶
Expiry wraps zlm_license_expiry(), see https://zenlicensemanager.com/documentation/#API
func (*License) ExpiryDays ¶
ExpiryDays wraps zlm_license_expiry_days(), see https://zenlicensemanager.com/documentation/#API
func (*License) Get ¶
Get wraps zlm_license_get(), see https://zenlicensemanager.com/documentation/#API
func (*License) Next ¶
Next wraps zlm_license_next(), see https://zenlicensemanager.com/documentation/#API
func (*License) NotExpired ¶
NotExpired wraps zlm_license_not_expired(), see https://zenlicensemanager.com/documentation/#API
func (*License) Product ¶
Product wraps zlm_license_product(), see https://zenlicensemanager.com/documentation/#API
func (*License) Userdata ¶
Userdata wraps zlm_license_userdata(), see https://zenlicensemanager.com/documentation/#API
func (*License) UserdataUnescaped ¶
UserdataUnescaped wraps zlm_license_userdata_unescaped(), see https://zenlicensemanager.com/documentation/#API