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

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