rpc

package
v0.0.0-...-33290b6 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT 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() authendpoint.RPCClient

Endpoint服务的SDK

func (*ClientSet) Policy

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

Policy服务的SDK

func (*ClientSet) Role

func (c *ClientSet) Role() authrole.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