manager

package
v0.1.10-hotfix1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LifecycleManager

type LifecycleManager struct {
	BackendConfig backendconfig.BackendConfig
	// contains filtered or unexported fields
}

func New

func New(rtFactory *router.Factory, brtFactory *batchrouter.Factory,
	backendConfig backendconfig.BackendConfig) *LifecycleManager

New creates a new Router instance

func (*LifecycleManager) Run

func (*LifecycleManager) Start

func (r *LifecycleManager) Start()

Start starts a Router, this is not a blocking call. If the router is not completely started and the data started coming then also it will not be problematic as we are assuming that the DBs will be up.

func (*LifecycleManager) Stop

func (r *LifecycleManager) Stop()

Stop stops the Router, this is a blocking call.

Jump to

Keyboard shortcuts

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