optlyplugins

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: Apache-2.0 Imports: 6 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 NotificationManager

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

NotificationManager manager class for notification listeners

func (*NotificationManager) GetListenersCalled

func (n *NotificationManager) GetListenersCalled() []interface{}

GetListenersCalled - Returns listeners called

func (*NotificationManager) SubscribeNotifications

func (n *NotificationManager) SubscribeNotifications(listeners map[string]int, client *client.OptimizelyClient)

SubscribeNotifications subscribes to the provided notification listeners

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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