engine

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultEngineFileHandler

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

func NewDefaultEngineFileHandler

func NewDefaultEngineFileHandler(input string) *DefaultEngineFileHandler

func (*DefaultEngineFileHandler) Close

func (d *DefaultEngineFileHandler) Close()

func (*DefaultEngineFileHandler) Read

func (d *DefaultEngineFileHandler) Read() (io.Reader, error)

func (*DefaultEngineFileHandler) Write

func (d *DefaultEngineFileHandler) Write() (io.Writer, error)

type Engine

type Engine struct {
	Handlers []handlerContext

	IgnoreRecoveryErrors bool
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, config config.Config, files chan definitions.PrintInfo, writeAheadLogger repo.WriteAheadLogger) *Engine

func (*Engine) Recover

func (e *Engine) Recover() error

func (*Engine) Run

func (e *Engine) Run()

Jump to

Keyboard shortcuts

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