rpc

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Artistic-2.0 Imports: 13 Imported by: 0

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

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

Audit服务的SDK

func (*ClientSet) Endpoint

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

Endpoint服务的SDK

func (*ClientSet) Policy

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

policy服务的SDK

func (*ClientSet) Role

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