Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumeFunc ¶
type ConsumeFunc func(ctx context.Context, message event.EventString) error
type Subscriber ¶
type Subscriber interface { // Start the subscriber Start() // Close all underlying connections and resources Close() error // GroupID that is used GroupID() string // Topic that it is subscribed Topic() string }
Subscriber is the interface to manage ONE topic
Click to show internal directories.
Click to hide internal directories.