transit

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]Transit)
)

Functions

func WrapWithBatchMsgLoop

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

func WrapWithSingleMsgLoop

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

Types

type Transit

type Transit interface {
	plug.Parter
	DoTransit()
}

Jump to

Keyboard shortcuts

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