Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryMessageDispatcher ¶ added in v0.14.0
type InMemoryMessageDispatcher struct {
// contains filtered or unexported fields
}
func NewMessageDispatcher ¶ added in v0.14.0
func NewMessageDispatcher(args *InMemoryMessageDispatcherArgs) *InMemoryMessageDispatcher
func (*InMemoryMessageDispatcher) GetHandler ¶ added in v0.19.0
func (d *InMemoryMessageDispatcher) GetHandler(ctx context.Context) multichannelfanout.MultiChannelMessageHandler
GetHandler gets the current multichannelfanout.MessageHandler to delegate all HTTP requests to.
type InMemoryMessageDispatcherArgs ¶ added in v0.14.0
type InMemoryMessageDispatcherArgs struct {
Port int
ReadTimeout time.Duration
WriteTimeout time.Duration
Handler multichannelfanout.MultiChannelMessageHandler
Logger *zap.Logger
}
type MessageDispatcher ¶ added in v0.14.0
type MessageDispatcher interface {
GetHandler(ctx context.Context) multichannelfanout.MultiChannelMessageHandler
}
Click to show internal directories.
Click to hide internal directories.