Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
func NewFactory ¶
func NewFactory(cfg *config.Config, interceptors []Interceptor) (Factory, error)
type Interceptor ¶
type Interceptor interface {
Intercept(ctx context.Context, msgs []Message, next InterceptNextFunc) error
}
type InterceptorFunc ¶
type InterceptorFunc func(ctx context.Context, msgs []Message, next InterceptNextFunc) error
func (InterceptorFunc) Intercept ¶
func (f InterceptorFunc) Intercept(ctx context.Context, msgs []Message, next InterceptNextFunc) error
Click to show internal directories.
Click to hide internal directories.