account

package
v0.0.0-...-a452e60 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AccountHost = "account.api.qcloud.com"
	AccountPath = "/v2/index.php"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*common.Client
}

func NewClient

func NewClient(credential common.CredentialInterface, opts common.Opts) (*Client, error)

func NewClientFromEnv

func NewClientFromEnv() (*Client, error)

func (*Client) DescribeProject

func (client *Client) DescribeProject(args *DescribeProjectArgs) (*DescribeProjectResponse, error)

type DescribeProjectArgs

type DescribeProjectArgs struct{}

type DescribeProjectResponse

type DescribeProjectResponse struct {
	Response
	Data []Project `json:"data"`
}

type Project

type Project struct {
	ProjectName string `json:"projectName"`
	ProjectId   int    `json:"projectId"`
	CreateTime  string `json:"createTime"`
	CreatorUin  int    `json:"creatorUin"`
	ProjectInfo string `json:"projectInfo"`
}

type Response

type Response struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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