inmemorychannel

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2021 License: Apache-2.0 Imports: 5 Imported by: 8

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

GetHandler gets the current multichannelfanout.MessageHandler to delegate all HTTP requests to.

func (*InMemoryMessageDispatcher) Start added in v0.14.0

Start starts the inmemory dispatcher's message processing. This is a blocking call.

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL