rpc_plugin

package
v0.0.0-...-69b6b67 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientInstanceInit

func ClientInstanceInit(logger log.Logger) error

func ClientInstanceInit_

func ClientInstanceInit_(name string, logger log.Logger) error

Init a new instance. If only need one instance, use empty name "". Use GetDefaultInstance() to get. If you need several instance, run Init() with different <name>. Use GetInstance(<name>) to get.

func GetClient

func GetClient() *bi_rpc.Client

func GetClient_

func GetClient_(name string) *bi_rpc.Client

func GetServerInstance

func GetServerInstance() *bi_rpc.Server

func GetServerInstance_

func GetServerInstance_(name string) *bi_rpc.Server

func ServerInstanceInit

func ServerInstanceInit(logger log.Logger) error

func ServerInstanceInit_

func ServerInstanceInit_(name string, logger log.Logger) error

Init a new instance. If only need one instance, use empty name "". Use GetDefaultInstance() to get. If you need several instance, run Init() with different <name>. Use GetInstance(<name>) to get.

Types

This section is empty.

Jump to

Keyboard shortcuts

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