Documentation ¶
Index ¶
- type Router
- func (v Router) CreateMessageSender(helper affinity.Helper, accessor beat.History) messagesender.Service
- func (v Router) IsZero() bool
- func (v Router) PublishMessage(topic string, msg *message.Message) error
- func (v Router) ReplacePublisher(publisher message.Publisher) Router
- func (v Router) SubscribeForMessages(inHandler func(beat.Message) error) (stopFn func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func NewRouter ¶
func NewRouter(ctx context.Context, outHandler message.NoPublishHandlerFunc) Router
func (Router) CreateMessageSender ¶
func (Router) PublishMessage ¶
func (Router) ReplacePublisher ¶
Click to show internal directories.
Click to hide internal directories.