client

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultContext func() context2.Context

Functions

func Call

func Call(server string, method string, params any, res any) error

func CallWithContext added in v0.10.1

func CallWithContext(ctx context2.Context, server string, method string, params any, res any) error

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(server string) *Client

func (*Client) Call

func (c *Client) Call(method string, params any, res any) error

func (*Client) CallWithContext added in v0.10.2

func (c *Client) CallWithContext(ctx context2.Context, method string, params any, res any) error

Jump to

Keyboard shortcuts

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