event_handler

package
v0.2.5-dev16 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(eventListener IListener, initControllerHandler func() (IStoppableRsync, error)) error

Types

type IListener

type IListener interface {
	Run(resync func()) error
}

func CreateEventListener

func CreateEventListener(stateKey string, eventListenerType string, portClient *cli.PortClient) (IListener, error)

type IStoppableRsync

type IStoppableRsync interface {
	Stop()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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