requests

package
v0.3.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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