rpc

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetGlobal

func SetGlobal(cli *ClientSet)

SetGlobal todo

Types

type ClientSet

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

Client 客户端

func C

func C() *ClientSet

C Global

func NewClient

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

NewClient todo 传递注册中心的地址

func (*ClientSet) Audit added in v0.0.7

func (c *ClientSet) Audit() audit.RPCClient

Audit服务的SDK

func (*ClientSet) Endpoint added in v0.0.4

func (c *ClientSet) Endpoint() endpoint.RPCClient

Endpoint服务的SDK

func (*ClientSet) Policy added in v0.0.5

func (c *ClientSet) Policy() policy.RPCClient

Policy服务的SDK

func (*ClientSet) Role added in v0.0.5

func (c *ClientSet) Role() role.RPCClient

Role服务的SDK

func (*ClientSet) Token

func (c *ClientSet) Token() token.ServiceClient

Token服务的SDK

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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