testing

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDispatcherDoNothing

func NewDispatcherDoNothing() dispatcher.NatssDispatcher

Types

type DispatcherDoNothing

type DispatcherDoNothing struct{}

DispatcherDoNothing is a dummy mock which doesn't do anything

func (*DispatcherDoNothing) ProcessChannels

func (*DispatcherDoNothing) Start

func (s *DispatcherDoNothing) Start(_ <-chan struct{}) error

func (*DispatcherDoNothing) UpdateSubscriptions

type DispatcherFailNatssSubscription

type DispatcherFailNatssSubscription struct {
}

DispatcherFailNatssSubscription simulates that natss has a failed subscription

func NewDispatcherFailNatssSubscription

func NewDispatcherFailNatssSubscription() *DispatcherFailNatssSubscription

func (*DispatcherFailNatssSubscription) ProcessChannels

func (*DispatcherFailNatssSubscription) Start

func (s *DispatcherFailNatssSubscription) Start(_ <-chan struct{}) error

func (*DispatcherFailNatssSubscription) UpdateSubscriptions

UpdateSubscriptions returns a failed natss subscription

Jump to

Keyboard shortcuts

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