udbproxy

package
v0.21.48 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package udbproxy include resources of ucloud udbproxy product

See also

for detail.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInfo

type ClientInfo struct {

	// 客户端连接IP数
	Count int

	// 客户端连接IP
	IP string
}

ClientInfo - ClientInfo

type ListUDBProxyClientRequest

type ListUDBProxyClientRequest struct {
	request.CommonBase

	// 代理ID
	UDBProxyID *string `required:"true"`
}

ListUDBProxyClientRequest is request schema for ListUDBProxyClient action

type ListUDBProxyClientResponse

type ListUDBProxyClientResponse struct {
	response.CommonBase

	// 代理节点客户端IP连接信息
	NodeClientInfos []NodeClientInfo

	// 代理ID
	UDBProxyID string
}

ListUDBProxyClientResponse is response schema for ListUDBProxyClient action

type NodeClientInfo

type NodeClientInfo struct {

	// 代理节点ID
	ID string

	// 代理节点IP
	IP string

	// 客户端IP连接信息
	Records []ClientInfo
}

NodeClientInfo - 代理节点来源IP信息

type UDBProxyClient

type UDBProxyClient struct {
	*ucloud.Client
}

UDBProxyClient is the client of UDBProxy

func NewClient

func NewClient(config *ucloud.Config, credential *auth.Credential) *UDBProxyClient

NewClient will return a instance of UDBProxyClient

func (*UDBProxyClient) ListUDBProxyClient

API: ListUDBProxyClient

查询代理客户端连接IP信息(实时)

func (*UDBProxyClient) NewListUDBProxyClientRequest

func (c *UDBProxyClient) NewListUDBProxyClientRequest() *ListUDBProxyClientRequest

NewListUDBProxyClientRequest will create request of ListUDBProxyClient action.

Jump to

Keyboard shortcuts

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