optlyplugins

package
v1.0.0-beta5 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventReceiver

type EventReceiver interface {
	GetEvents() []event.Batch
}

EventReceiver returns dispatched events

type ProxyEventDispatcher

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

ProxyEventDispatcher represents a valid HTTP implementation of the Dispatcher interface

func (*ProxyEventDispatcher) DispatchEvent

func (d *ProxyEventDispatcher) DispatchEvent(event event.LogEvent) (bool, error)

DispatchEvent dispatches event with callback

func (*ProxyEventDispatcher) GetEvents

func (d *ProxyEventDispatcher) GetEvents() []event.Batch

GetEvents returns dispatched events

type TestCompositeService

type TestCompositeService struct {
	decision.CompositeService
	// contains filtered or unexported fields
}

TestCompositeService represents a CompositeService with custom implementations

func (*TestCompositeService) AddListeners

func (c *TestCompositeService) AddListeners(listeners map[string]int)

AddListeners - Adds Notification Listeners

func (*TestCompositeService) GetListenersCalled

func (c *TestCompositeService) GetListenersCalled() []models.DecisionListener

GetListenersCalled - Returns listeners called

Jump to

Keyboard shortcuts

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