Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartClient ¶
func StartClient()
func StartClientIntercept ¶
func StartClientIntercept()
func StartClientRegister ¶
func StartClientRegister()
func StartClientTLS ¶
func StartClientTLS()
func StartClientToken ¶
func StartClientToken()
Types ¶
type CustomerCredsAuth ¶
type CustomerCredsAuth struct { }
自定义认证,实现 PerRPCCredentials 接口
func (CustomerCredsAuth) GetRequestMetadata ¶
func (c CustomerCredsAuth) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error)
获取元数据
func (CustomerCredsAuth) RequireTransportSecurity ¶
func (c CustomerCredsAuth) RequireTransportSecurity() bool
是否开启传输安全
Click to show internal directories.
Click to hide internal directories.