Documentation ¶
Index ¶
Constants ¶
View Source
const AppName = "mauditClient"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential struct {
// contains filtered or unexported fields
}
Credential 为每个RPC 请求提供凭据
func (*Credential) GetRequestMetadata ¶
func (*Credential) RequireTransportSecurity ¶
func (cr *Credential) RequireTransportSecurity() bool
type MauditClient ¶
type MauditClient struct { ioc.ObjectImpl Addr string `json:"addr" yaml:"addr"` Port int `json:"port" yaml:"port"` Token string `json:"token" yaml:"token"` // contains filtered or unexported fields }
func GetSvc ¶
func GetSvc() *MauditClient
func (*MauditClient) Init ¶
func (mc *MauditClient) Init()
func (*MauditClient) MauditClient ¶
func (mc *MauditClient) MauditClient() bridge.RpcClient
func (*MauditClient) Name ¶
func (mc *MauditClient) Name() string
func (*MauditClient) Options ¶
func (mc *MauditClient) Options() (opt []grpc.DialOption)
func (*MauditClient) Priority ¶
func (mc *MauditClient) Priority() int
Click to show internal directories.
Click to hide internal directories.