requests

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetSignedStateRequest added in v0.3.4

type GetSignedStateRequest struct {
	Root  *string `filter:"root"`
	Block *uint64 `filter:"block"`
}

func NewGetSignedStateRequest added in v0.3.4

func NewGetSignedStateRequest(r *http.Request) (GetSignedStateRequest, error)

type TransitStateData added in v0.3.0

type TransitStateData struct {
	TxData string `json:"tx_data"`
}

type TransitStateDataRequest added in v0.3.0

type TransitStateDataRequest struct {
	Data TransitStateData `json:"data"`
}

func TransitStateDataRequestRequest added in v0.3.0

func TransitStateDataRequestRequest(r *http.Request) (TransitStateDataRequest, error)

type VerifyProofRequest

type VerifyProofRequest struct {
	Data VerifyProofRequestData `json:"data"`
}

func NewVerifyProofRequest

func NewVerifyProofRequest(r *http.Request) (VerifyProofRequest, error)

type VerifyProofRequestData

type VerifyProofRequestData struct {
	TxData string `json:"tx_data"`
}

type VoteRequest added in v0.3.0

type VoteRequest struct {
	Data VoteRequestData `json:"data"`
}

func NewVoteRequest added in v0.3.0

func NewVoteRequest(r *http.Request) (VoteRequest, error)

type VoteRequestData added in v0.3.0

type VoteRequestData struct {
	TxData       string `json:"tx_data"`
	Voting       string `json:"voting"`
	Registration string `json:"registration"`
}

Jump to

Keyboard shortcuts

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