requests

package
v0.0.0-...-a0f8ea2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateMerkleTreeRequest

type CreateMerkleTreeRequest struct {
	Data CreateMerkleTreeRequestData `json:"data"`
}

func NewCreateMerkleTreeRequest

func NewCreateMerkleTreeRequest(r *http.Request) (CreateMerkleTreeRequest, error)

type CreateMerkleTreeRequestData

type CreateMerkleTreeRequestData struct {
	PemBlocks []string `json:"pem_blocks"`
}

type GenerateProofRequest

type GenerateProofRequest struct {
	Data     GenerateProofRequestData `json:"data"`
	Encoding string
}

func NewGenerateProofRequest

func NewGenerateProofRequest(r *http.Request) (GenerateProofRequest, error)

type GenerateProofRequestData

type GenerateProofRequestData struct {
	PemBlock     string `json:"pem_block"`
	MerkleTreeId string `json:"merkle_tree_id"`
}

Jump to

Keyboard shortcuts

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