bus

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Conf *configurationData

Conf Event-Service configuration data

Functions

func CheckConf

func CheckConf() (err error)

CheckConf assert the configuration initialization

func Init

func Init(sourceID string, targetURLV1 string, targetURLV2 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(apiVersion string, req interface{}, traceHeaders *map[string]string,
	forwardHeaders *map[string][]string) (*api.SendEventResponse, error)

SendEvent sends the incoming request to the Sender

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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