bus

package
v0.0.0-...-1ac4f16 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSource

func AddSource(parameters *api.PublishEventParameters) (resp *api.SendEventParameters, err error)

AddSource adds the "source" related data to the incoming request

func Init

func Init(sourceID string, targetURL string)

Init should be used to initialize the "source" related configuration data

func InitEventSender

func InitEventSender(clientProvider httptools.HTTPClientProvider, requestProvider httptools.HTTPRequestProvider)

InitEventSender initializes an internal httpClientProvider and httpRequestProvider

func SendEvent

func SendEvent(req *api.SendEventParameters, traceHeaders *map[string]string) (*api.SendEventResponse, error)

SendEvent sends the incoming request to the Sender

Types

This section is empty.

Jump to

Keyboard shortcuts

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