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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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