client

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: Apache-2.0 Imports: 24 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 NewClient

func NewClient(ctx context.Context) (*Client, error)

func (*Client) GetAccessKey added in v0.5.0

func (c *Client) GetAccessKey() string

GetAccessKey 获取访问密钥

func (*Client) GetClientID added in v0.5.0

func (c *Client) GetClientID() string

GetClientID 获取客户端ID

func (*Client) GetServerURL added in v0.5.0

func (c *Client) GetServerURL() string

GetServerURL 获取服务器URL

func (*Client) SetHTTPServer added in v0.4.1

func (c *Client) SetHTTPServer(httpServer *server.HTTPServer)

SetHTTPServer 设置 HTTP 服务器(由 scheduler 调用)

func (*Client) Start added in v0.5.0

func (c *Client) Start()

Start 启动客户端连接

func (*Client) StartConnectNotify

func (c *Client) StartConnectNotify()

StartConnectNotify 启动连接通知 - 建立持久连接并通过心跳保持

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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