model

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StatusCodeString = []string{
	"Success",
	"UnauthorizedRequester",
	"ReadStreamError",
	"DecodeRequestError",
	"EncodeRequestError",
	"ProposalRemarshalMismatch",
	"WalletKeyNotFound",
	"WalletSignError",
	"MarshalSignatureError",
	"EncodeResponseError",
}

Functions

This section is empty.

Types

type SignerResponse

type SignerResponse struct {
	Code      StatusCode
	Message   string
	Signature []byte
}

func (*SignerResponse) MarshalCBOR

func (t *SignerResponse) MarshalCBOR(w io.Writer) error

func (*SignerResponse) UnmarshalCBOR

func (t *SignerResponse) UnmarshalCBOR(r io.Reader) error

type StatusCode

type StatusCode uint64
const (
	Success StatusCode = iota
	UnauthorizedRequester
	ReadStreamError
	DecodeRequestError
	EncodeRequestError
	ProposalRemarshalMismatch
	WalletKeyNotFound
	WalletSignError
	MarshalSignatureError
	EncodeResponseError
)

Jump to

Keyboard shortcuts

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