executor

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package executor provides the core executor for the Synapse module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

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

Executor is the executor sturct/core of the program TODO: should consider interfacing this.

func NewExecutor

func NewExecutor(ctx context.Context, handler metrics.Handler, cfg config.Config) (executor *Executor, err error)

NewExecutor creates a new executor.

func (*Executor) DB

func (e *Executor) DB() db.Service

DB returns the db service.

func (*Executor) Start

func (e *Executor) Start(ctx context.Context) error

Start starts the executor.

Jump to

Keyboard shortcuts

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