cmd

package
v0.0.0-...-5fc4cb2 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2018 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(client *common.VirgilHttpClient, pythia *pythia.Pythia) *cli.Command

func Protect

func Protect(client *common.VirgilHttpClient, pythia *pythia.Pythia) *cli.Command

func RequestEval

func RequestEval(c *cli.Context, client *common.VirgilHttpClient, pythia *pythia.Pythia) ([]byte, error)

Types

type EvalRequest

type EvalRequest struct {
	W []byte `json:"w"`
	T []byte `json:"t"`
	X []byte `json:"x"`
}

type EvalResponse

type EvalResponse struct {
	Y     []byte         `json:"y"`
	Proof *ProofResponse `json:"proof,omitempty"`
}

type ProofResponse

type ProofResponse struct {
	P []byte `json:"p"`
	C []byte `json:"c"`
	U []byte `json:"u"`
}

Jump to

Keyboard shortcuts

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