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
Click to show internal directories.
Click to hide internal directories.