casp

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 1 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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorResponse

type ErrorResponse struct {
	Type    string `json:"type"`
	Title   string `json:"title"`
	Details string `json:"details,omitempty"`
	Status  int    `json:"status"`
}

type PostSignDataResponse

type PostSignDataResponse struct {
	OperationID string `json:"operationID"`
}

type SignOperationResponse

type SignOperationResponse struct {
	OperationID string    `json:"operationID"`
	Kind        string    `json:"kind"`
	Status      string    `json:"status"`
	StatusText  string    `json:"statusText"`
	CreatedAt   time.Time `json:"createdAt"`
	VaultID     string    `json:"vaultID"`
	Description string    `json:"description,omitempty"`
	IsApproved  bool      `json:"isApproved"`
	AccountID   string    `json:"accountID"`
	Groups      []struct {
		Name    string `json:"name"`
		Members []struct {
			ApprovedAt           string `json:"approvedAt"`
			Id                   string `json:"id"`
			IsApproved           bool   `json:"isApproved"`
			Name                 string `json:"name"`
			Status               string `json:"status"`
			ApprovalGroupAccount struct {
				Id   string `json:"id"`
				Name string `json:"name"`
			} `json:"approvalGroupAccount"`
			Label        string `json:"label"`
			IsGlobal     bool   `json:"isGlobal"`
			IsActive     bool   `json:"isActive"`
			GlobalStatus string `json:"globalStatus"`
			IsOffline    bool   `json:"isOffline"`
		} `json:"members"`
		RequiredApprovals int  `json:"requiredApprovals"`
		Order             int  `json:"order"`
		DeactivateAllowed bool `json:"deactivateAllowed"`
		IsOffline         bool `json:"isOffline"`
	} `json:"groups"`
	VaultName           string   `json:"vaultName"`
	PublicKeys          []string `json:"publicKeys"`
	DataToSign          []string `json:"dataToSign"`
	Signatures          []string `json:"signatures,omitempty"`
	V                   []int    `json:"v,omitempty"`
	LedgerHashAlgorithm string   `json:"ledgerHashAlgorithm"`
	CollectedData       struct {
		CollectionComplete   bool          `json:"collectionComplete"`
		DataCollectionGroups []interface{} `json:"dataCollectionGroups"`
	} `json:"collectedData"`
}

type UncompressedPublicKeysResponse

type UncompressedPublicKeysResponse struct {
	PublicKeys   []string `json:"publicKeys"`
	Chains       []string `json:"chains"`
	AccountName  string   `json:"accountName"`
	AccountIndex int      `json:"accountIndex"`
}

Jump to

Keyboard shortcuts

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