processor

package
v0.0.0-...-d828794 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLeaderProcessor

func NewLeaderProcessor(addr string, client *clientv3.Client) *leaderProcessor

func NewRunner

func NewRunner(addr string, client *clientv3.Client) *runner

func NewWorkerProcessor

func NewWorkerProcessor(node string, client *clientv3.Client) *workerProcessor

Types

type Runner

type Runner interface {
	Run(ctx context.Context) error
}

Jump to

Keyboard shortcuts

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