Documentation ¶
Index ¶
Constants ¶
View Source
const (
// LicenseKeyPath points to the location of the license.
LicenseKeyPath = "/opt/avira/hbedv.key"
)
Variables ¶
View Source
var ( // ErrNoLicenseFound is returned when no license is found ErrNoLicenseFound = errors.New("no license found") // ErrInvalidLicense is returned when invalid license is found ErrInvalidLicense = errors.New("invalid license") // ErrExpiredLicense is returned when license is expired ErrExpiredLicense = errors.New("license expired") // ErrLicenseUnknownError is returned when unknown error occurred ErrLicenseUnknownError = errors.New("license parsing failed") )
Functions ¶
func ActivateLicense ¶
ActivateLicense activate the license.
func LicenseStatus ¶
LicenseStatus checks the validity of the license.
Types ¶
type Scanner ¶
type Scanner struct{}
Scanner represents an empty struct that can be used to a method received.
Click to show internal directories.
Click to hide internal directories.