Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultInjectFunc ¶
DefaultInjectFunc 默认注入
func StreamServerInterceptor ¶
func StreamServerInterceptor(opts ...Option) grpc.StreamServerInterceptor
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(opts ...Option) grpc.UnaryServerInterceptor
Types ¶
type InjectCtxFunc ¶
InjectCtxFunc 注入ctx方法
type Option ¶
type Option func(*options)
func WithInjectCtxFunc ¶
func WithInjectCtxFunc(fns ...InjectCtxFunc) Option
Click to show internal directories.
Click to hide internal directories.