Documentation ¶
Index ¶
- func New(opts ...Option) interceptors.Interceptors
- type Option
- func WithClientInterceptors(ci ...interceptors.ClientInterceptors) Option
- func WithInterceptors(i ...interceptors.Interceptors) Option
- func WithServerInterceptors(si ...interceptors.ServerInterceptors) Option
- func WithStreamClientInterceptors(sci ...grpc.StreamClientInterceptor) Option
- func WithStreamServerInterceptors(ssi ...grpc.StreamServerInterceptor) Option
- func WithUnaryClientInterceptors(uci ...grpc.UnaryClientInterceptor) Option
- func WithUnaryServerInterceptors(usi ...grpc.UnaryServerInterceptor) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts ...Option) interceptors.Interceptors
Types ¶
type Option ¶
type Option func(*chain)
func WithClientInterceptors ¶
func WithClientInterceptors(ci ...interceptors.ClientInterceptors) Option
func WithInterceptors ¶
func WithInterceptors(i ...interceptors.Interceptors) Option
func WithServerInterceptors ¶
func WithServerInterceptors(si ...interceptors.ServerInterceptors) Option
func WithStreamClientInterceptors ¶
func WithStreamClientInterceptors(sci ...grpc.StreamClientInterceptor) Option
func WithStreamServerInterceptors ¶
func WithStreamServerInterceptors(ssi ...grpc.StreamServerInterceptor) Option
func WithUnaryClientInterceptors ¶
func WithUnaryClientInterceptors(uci ...grpc.UnaryClientInterceptor) Option
func WithUnaryServerInterceptors ¶
func WithUnaryServerInterceptors(usi ...grpc.UnaryServerInterceptor) Option
Click to show internal directories.
Click to hide internal directories.