requests

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsistencyProofRequestFromHTTP

func ConsistencyProofRequestFromHTTP(r *http.Request) (*sigsumreq.ConsistencyProof, error)

func InclusionProofRequestFromHTTP

func InclusionProofRequestFromHTTP(r *http.Request) (*sigsumreq.InclusionProof, error)

func LeafRequestFromHTTP

func LeafRequestFromHTTP(ctx context.Context, r *http.Request, vf token.Verifier) (*sigsumreq.Leaf, *string, error)

The string return value, if non-nil, is the verified submitter domain.

func LeavesRequestFromHTTP

func LeavesRequestFromHTTP(r *http.Request, maxIndex uint64, maxRange int, strictEnd bool) (sigsumreq.Leaves, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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