account

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package accounts provides the /accounts APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccountBalance

func GetAccountBalance() (*cloudns.AccountBalanceResponse, error)

func GetMyIp

func GetMyIp() (*cloudns.AccountIpResponse, error)

func NewLogin

func NewLogin() (*cloudns.AccountLoginResponse, error)

New creates a login response.

Types

type Client

type Client struct {
	B cloudns.Backend
}

Client is used to invoke /accounts APIs.

func (Client) GetAccountBalance

func (c Client) GetAccountBalance() (*cloudns.AccountBalanceResponse, error)

func (Client) GetMyIp

func (c Client) GetMyIp() (*cloudns.AccountIpResponse, error)

func (Client) NewLogin

func (c Client) NewLogin() (*cloudns.AccountLoginResponse, error)

Get returns login response.

Jump to

Keyboard shortcuts

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