rpc

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: AFL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetGlobal

func SetGlobal(cli *ClientSet)

Types

type ClientSet

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

ClientSet 客户端

func C

func C() *ClientSet

C Global

func NewClient

func NewClient(conf *rpc.Config) (*ClientSet, error)

NewClient 传递注册中心地址

func (*ClientSet) Secret

func (c *ClientSet) Secret() secret.ServiceClient

Jump to

Keyboard shortcuts

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