Versions in this module Expand all Collapse all v0 v0.0.1 Mar 23, 2021 Changes in this version + func VerifyConsistencyProofV1(proof, first, second *types.StItem) error + func VerifyInclusionProofV1(proof, sth *types.StItem, leafHash []byte) error + func VerifySignedTreeHeadV1(namespace *types.Namespace, sth *types.StItem) error + type Client struct + HttpClient *http.Client + Log *Descriptor + Namespace *types.Namespace + Signer crypto.Signer + func NewClientFromFlags() (*Client, error) + func (c *Client) AddEntry(ctx context.Context, data *types.ChecksumV1) ([]byte, error) + func (c *Client) GetConsistencyProof(ctx context.Context, sth1, sth2 *types.StItem) (*types.StItem, error) + func (c *Client) GetEntries(ctx context.Context, start, end uint64) ([]*types.StItem, error) + func (c *Client) GetLatestSth(ctx context.Context) (*types.StItem, error) + func (c *Client) GetProofByHash(ctx context.Context, leafHash []byte, sth *types.StItem) (*types.StItem, error) + type Descriptor struct + Namespace *types.Namespace + Url string + func NewDescriptorFromFlags() (*Descriptor, error)