rpcclient

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RPCClientClose

func RPCClientClose(cli *rpcclient.Client, ctx context.Context) error

RPCClientClose 关闭 RPC 客户端

func RPCClientInit

func RPCClientInit() (*rpcclient.Client, error)

RPCClientInit 初始化 RPC 客户端

func RPCClientUse

func RPCClientUse(cli *rpcclient.Client)

RPCClientUse 使用 RPC 客户端示例

func Run

func Run(ctx context.Context) error

Run 启动 gRPC 客户端并优雅关闭

Types

This section is empty.

Jump to

Keyboard shortcuts

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