engine

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricTotal    = "worker_handler_execution_total"
	MetricDuration = "worker_handler_execution_duration_seconds"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Env string
	// Han are the worker specific handlers implementing the actual business
	// logic.
	Han []handler.Interface
	Log logger.Interface
	Met metric.Meter
}

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

func New

func New(c Config) *Engine

func (*Engine) Daemon

func (e *Engine) Daemon()

Jump to

Keyboard shortcuts

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