internal

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Plugins map[string]PluginI

Functions

func RegisterPlugin

func RegisterPlugin(name string, pi PluginI)

func StartPlugins

func StartPlugins(logger logadapter.Logger)

func StopPlugins

func StopPlugins()

Types

type PluginI

type PluginI interface {
	Start(logadapter.Logger)
	Stop()
	Poll(context.Context)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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