Documentation ¶ Index ¶ Variables type HasPending type Interface type Process Constants ¶ This section is empty. Variables ¶ View Source var ErrPendingUnavailable = errors.New("pending not available") Functions ¶ This section is empty. Types ¶ type HasPending ¶ type HasPending interface { Interface // GetPending returns the number of pending messages. // It may return ErrPendingUnavailable if this is not available yet. GetPending(ctx context.Context) (uint64, error) } type Interface ¶ type Interface interface { io.Closer } type Process ¶ added in v0.0.101 type Process func(ctx context.Context, msg []byte) error Source Files ¶ View all Source files source.go Directories ¶ Show internal Expand all Path Synopsis cron db http jetstream kafka loadbalanced s3 stan volume Click to show internal directories. Click to hide internal directories.