loudvents

package
v0.0.0-...-3ab95b6 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoudVentsMessageDispatcher

type LoudVentsMessageDispatcher struct {
	// contains filtered or unexported fields
}

func (*LoudVentsMessageDispatcher) GetHandler

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

func (*LoudVentsMessageDispatcher) Start

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

func (*LoudVentsMessageDispatcher) WaitReady

func (d *LoudVentsMessageDispatcher) WaitReady()

WaitReady blocks until the dispatcher's server is ready to receive requests.

type LoudVentsMessageDispatcherArgs

type LoudVentsMessageDispatcherArgs struct {
	Port                       int
	ReadTimeout                time.Duration
	WriteTimeout               time.Duration
	Handler                    multichannelfanout.MultiChannelMessageHandler
	Logger                     *zap.Logger
	HTTPMessageReceiverOptions []kncloudevents.HTTPMessageReceiverOption
}

type MessageDispatcher

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