Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyNodes ¶
VerifyNodes verifies the number of the nodes in the license.
func VerifyTime ¶
VerifyTime verifies the time in the license.
Types ¶
type LicInfo ¶
type LicInfo struct { LicKey string `json:"license_key"` Code string `json:"code"` Company string `json:"company"` Node int64 `json:"node"` CPU int64 `json:"cpu"` Memory int64 `json:"memory"` Tenant int64 `json:"tenant"` EndTime string `json:"end_time"` StartTime string `json:"start_time"` DataCenter int64 `json:"data_center"` ModuleList []string `json:"module_list"` }
LicInfo license information
Click to show internal directories.
Click to hide internal directories.