Documentation ¶
Index ¶
- type Address
- type Balance
- type Client
- func (c *Client) AddressCreate(chain string, request CreateAddressRequest) (*Address, error)
- func (c *Client) AddressList(chain string) ([]Address, error)
- func (c *Client) AddressRecreate(chain string, count int) (map[string]string, error)
- func (c *Client) Init(request InitRequest) (*InitResponse, error)
- func (c *Client) Login(password string, save bool) (*LoginResponse, error)
- func (c *Client) Logout() error
- func (c *Client) MasternodeList(chain string) (interface{}, error)
- func (c *Client) Status() (interface{}, error)
- func (c *Client) SystemStatus() (interface{}, error)
- func (c *Client) SystemUpdate() (interface{}, error)
- func (c *Client) Upgrade() (interface{}, error)
- func (c *Client) UpgradeStatus() (*UpgradeStatus, error)
- type CreateAddressRequest
- type ErrorResponse
- type InitRequest
- type InitResponse
- type LoginResponse
- type PivxStatus
- type UpgradeStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddressCreate ¶
func (c *Client) AddressCreate(chain string, request CreateAddressRequest) (*Address, error)
func (*Client) AddressRecreate ¶
func (*Client) Init ¶
func (c *Client) Init(request InitRequest) (*InitResponse, error)
func (*Client) MasternodeList ¶
func (*Client) SystemStatus ¶
func (*Client) SystemUpdate ¶
func (*Client) UpgradeStatus ¶
func (c *Client) UpgradeStatus() (*UpgradeStatus, error)
type CreateAddressRequest ¶
type ErrorResponse ¶
type ErrorResponse struct {
Message string `json:"message"`
}
func (ErrorResponse) Error ¶
func (e ErrorResponse) Error() string
type InitRequest ¶
type InitResponse ¶
type InitResponse struct {
Mnemonic string `json:"mnemonic"`
}
type LoginResponse ¶
type LoginResponse struct {
JWT string `json:"jwt"`
}
type PivxStatus ¶
type UpgradeStatus ¶
Click to show internal directories.
Click to hide internal directories.