Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
func NewListener ¶
func NewListener(reader Reader, handlers Handlers, opts ...ListenerOption) (*Listener, error)
type ListenerOption ¶
type ListenerOption func(*Listener)
func ListenerAsyncHandle ¶ added in v0.1.1
func ListenerAsyncHandle(asyncHandle bool) ListenerOption
func ListenerErrorHandler ¶
func ListenerErrorHandler(errHandler transport.ErrorHandler) ListenerOption
func ListenerErrorLogger ¶
func ListenerErrorLogger(logger log.Logger) ListenerOption
func ListenerManualCommit ¶ added in v0.0.10
func ListenerManualCommit(manualCommit bool) ListenerOption
type NoopErrorHandler ¶ added in v0.0.6
type NoopErrorHandler struct { }
func NewNoopErrorHandler ¶ added in v0.0.6
func NewNoopErrorHandler() *NoopErrorHandler
Click to show internal directories.
Click to hide internal directories.