Versions in this module Expand all Collapse all v1 v1.1.0 Nov 22, 2022 Changes in this version + type ErrorResponse struct + Code int64 + Message string + func (e ErrorResponse) Error() string v1.0.0 Nov 18, 2022 Changes in this version + type APIError struct + Code int64 + Message string + func (e APIError) Error() string + type ErrorCode int64 + const ErrBadRequest + const ErrBadSignature + const ErrCannotBroadcastFee + const ErrCannotBroadcastFeeUnknownOutputs + const ErrCannotBroadcastTicket + const ErrFeeAlreadyReceived + const ErrFeeExpired + const ErrFeeNotReceived + const ErrFeeTooSmall + const ErrInternalError + const ErrInvalidFeeTx + const ErrInvalidPrivKey + const ErrInvalidTicket + const ErrInvalidTimestamp + const ErrInvalidVoteChoices + const ErrTicketCannotVote + const ErrUnknownTicket + const ErrVspClosed + func (e ErrorCode) DefaultMessage() string + func (e ErrorCode) HTTPStatus() int + type FeeAddressRequest struct + ParentHex string + TicketHash string + TicketHex string + Timestamp int64 + type FeeAddressResponse struct + Expiration int64 + FeeAddress string + FeeAmount int64 + Request []byte + Timestamp int64 + type PayFeeRequest struct + FeeTx string + TSpendPolicy map[string]string + TicketHash string + Timestamp int64 + TreasuryPolicy map[string]string + VoteChoices map[string]string + VotingKey string + type PayFeeResponse struct + Request []byte + Timestamp int64 + type SetAltSignAddrRequest struct + AltSignAddress string + ParentHex string + TicketHash string + TicketHex string + Timestamp int64 + type SetAltSignAddrResponse struct + Request []byte + Timestamp int64 + type SetVoteChoicesRequest struct + TSpendPolicy map[string]string + TicketHash string + Timestamp int64 + TreasuryPolicy map[string]string + VoteChoices map[string]string + type SetVoteChoicesResponse struct + Request []byte + Timestamp int64 + type TicketStatusRequest struct + TicketHash string + type TicketStatusResponse struct + AltSignAddress string + FeeTxHash string + FeeTxStatus string + Request []byte + TSpendPolicy map[string]string + TicketConfirmed bool + Timestamp int64 + TreasuryPolicy map[string]string + VoteChoices map[string]string + type VspInfoResponse struct + APIVersions []int64 + BlockHeight uint32 + FeePercentage float64 + Network string + NetworkProportion float32 + PubKey []byte + Revoked int64 + Timestamp int64 + TotalVotingWallets int64 + Voted int64 + Voting int64 + VotingWalletsOnline int64 + VspClosed bool + VspClosedMsg string + VspdVersion string Other modules containing this package github.com/decred/vspd/types/v2 github.com/decred/vspd/types/v3