Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientTokenInterceptor ¶
type ClientTokenInterceptor struct {
// contains filtered or unexported fields
}
func NewClientInterceptor ¶
func NewClientInterceptor(key string) *ClientTokenInterceptor
func (*ClientTokenInterceptor) Stream ¶
func (interceptor *ClientTokenInterceptor) Stream() grpc.StreamClientInterceptor
func (*ClientTokenInterceptor) Unary ¶
func (interceptor *ClientTokenInterceptor) Unary() grpc.UnaryClientInterceptor
type ServerTokenInterceptor ¶
type ServerTokenInterceptor struct {
// contains filtered or unexported fields
}
func NewServerInterceptor ¶
func NewServerInterceptor(key string) *ServerTokenInterceptor
func (*ServerTokenInterceptor) Stream ¶
func (ti *ServerTokenInterceptor) Stream() grpc.StreamServerInterceptor
func (*ServerTokenInterceptor) Unary ¶
func (ti *ServerTokenInterceptor) Unary() grpc.UnaryServerInterceptor
Click to show internal directories.
Click to hide internal directories.