subengine

package
v0.0.0-...-d64eb31 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEngine

func NewEngine(appCtx srvctx.ServiceContext, pb pubsub.Pubsub) *consumerEngine

Types

type ConsumerJob

type ConsumerJob struct {
	Title   string
	Handler func(ctx context.Context, message *pubsub.Message) error
}

type GroupJob

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

Jump to

Keyboard shortcuts

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