plutusvendor

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ZadigSystemTypeBasic        = "basic"
	ZadigSystemTypeProfessional = "professional"
	ZadigSystemTypeEnterprise   = "enterprise"
	ZadigXLicenseStatusNormal   = "normal"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckSignatrueResp

type CheckSignatrueResp struct {
	Code int64 `json:"code"`
}

type Client

type Client struct {
	*httpclient.Client
	// contains filtered or unexported fields
}

func New

func New() *Client

func (*Client) CheckSignature

func (c *Client) CheckSignature(userNum int64) (*CheckSignatrueResp, error)

func (*Client) CheckZadigXLicenseStatus

func (c *Client) CheckZadigXLicenseStatus() (*ZadigXLicenseStatus, error)

func (*Client) Health

func (c *Client) Health() error

type ZadigXLicenseStatus

type ZadigXLicenseStatus struct {
	Type             string   `json:"type"`
	Status           string   `json:"status"`
	SystemID         string   `json:"system_id"`
	UserLimit        int64    `json:"user_limit"`
	UserCount        int64    `json:"user_count"`
	License          string   `json:"license"`
	ExpireAt         int64    `json:"expire_at"`
	AvailableVersion string   `json:"available_version"`
	CurrentVersion   string   `json:"current_version"`
	Features         []string `json:"features"`
	ImprovementPlan  bool     `json:"improvement_plan"`
	CreatedAt        int64    `json:"created_time"`
	UpdatedAt        int64    `json:"updated_time"`
}

Jump to

Keyboard shortcuts

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