Versions in this module Expand all Collapse all v1 v1.1.0 Mar 15, 2023 v1.0.0 Feb 17, 2023 Changes in this version + func ValidateServerSignature(resp *http.Response, body []byte, serverPubkey []byte) error + type Client struct + Log slog.Logger + PubKey []byte + Sign SignFunc + URL string + Validate ValidateFunc + func (c *Client) FeeAddress(ctx context.Context, req types.FeeAddressRequest, ...) (*types.FeeAddressResponse, error) + func (c *Client) PayFee(ctx context.Context, req types.PayFeeRequest, commitmentAddr stdaddr.Address) (*types.PayFeeResponse, error) + func (c *Client) SetVoteChoices(ctx context.Context, req types.SetVoteChoicesRequest, ...) (*types.SetVoteChoicesResponse, error) + func (c *Client) TicketStatus(ctx context.Context, req types.TicketStatusRequest, ...) (*types.TicketStatusResponse, error) + func (c *Client) VspInfo(ctx context.Context) (*types.VspInfoResponse, error) + type SignFunc func(context.Context, string, stdaddr.Address) ([]byte, error) + type ValidateFunc func(resp *http.Response, body []byte, serverPubkey []byte) error Other modules containing this package github.com/decred/vspd/client/v2 github.com/decred/vspd/client/v3