response

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

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

func NewResponse

func NewResponse() *Response

func (*Response) ClientResponse

func (r *Response) ClientResponse() *sspvo.ClientResponse

func (*Response) Data

func (r *Response) Data() ([]byte, error)

func (*Response) Error

func (r *Response) Error() error

func (*Response) SetClientResponse

func (r *Response) SetClientResponse(resp *sspvo.ClientResponse)

func (*Response) SetError

func (r *Response) SetError(err error)

type SignResponse

type SignResponse struct {
	Response
	// contains filtered or unexported fields
}

func NewSignResponse

func NewSignResponse() *SignResponse

func (*SignResponse) Data

func (r *SignResponse) Data() ([]byte, error)

func (*SignResponse) SetCryptoHandler

func (r *SignResponse) SetCryptoHandler(handler func(cert string) (sspvo.Crypto, error))

func (*SignResponse) SetSkipVerify

func (r *SignResponse) SetSkipVerify(skip bool)

Jump to

Keyboard shortcuts

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