Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ImpersonateAccountHeader defines the header for account // id impersonation. ImpersonateAccountHeader = "impersonate-account-id" )
Variables ¶
This section is empty.
Functions ¶
func ContextWithMemberID ¶
ContextWithMemberID 使用给定的帐户ID创建上下文
func Interceptor ¶
func Interceptor(publicKeyFile string) (grpc.UnaryServerInterceptor, error)
Interceptor 创建一个GRPC认证拦截器
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.