request

package
v0.0.0-...-4c68550 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 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 SignedResponse

type SignedResponse struct {
	// contains filtered or unexported fields
}

func NewSignedResponse

func NewSignedResponse(signer *crypto.Signer) *SignedResponse

func (*SignedResponse) WriteResponse

func (r *SignedResponse) WriteResponse(payload []byte, w http.ResponseWriter, publicKey crypto.PublicKey, privateKey *rsa.PrivateKey) error

func (*SignedResponse) WriteStreamResponse

func (r *SignedResponse) WriteStreamResponse(item vocab.Type, w http.ResponseWriter, publicKey crypto.PublicKey, privateKey *rsa.PrivateKey) error

Jump to

Keyboard shortcuts

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