gear_client

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient interface {
	PostRequest(params any, method string) (*models.RpcGenericResponse, error)
	SetId(id any)
}

type IWsClient added in v1.0.0

type IWsClient interface {
	IClient
	AddResponseTypesAndMakeWsConnectionsPool(responseTypes ...string) error
	NewSubscriptionFunc(method string, params any, responseType ResponseType) (chan *models.SubscriptionResponse, error)
	CloseAllConnection() error
	CloseChannelByResponseType(respType ResponseType)
	Cancel()
}

type ResponseType added in v1.0.2

type ResponseType string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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