input

package
v0.0.0-...-5032473 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Plugin = make(map[string]Input)
)

Functions

func WrapWithBatchMsgLoop

func WrapWithBatchMsgLoop(ctx context.Context, wg *sync.WaitGroup, group string, coreFunc func() ([][]byte, error), interval time.Duration) func()

func WrapWithSingleMsgLoop

func WrapWithSingleMsgLoop(ctx context.Context, wg *sync.WaitGroup, group string, coreFunc func() ([]byte, error), interval time.Duration) func()

Types

type Input

type Input interface {
	plug.Parter
	DoInput()
}

Jump to

Keyboard shortcuts

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