executor

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package executor implements the replicant transaction execution service

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Web          web.Config
	ServerURL    string
	AdvertiseURL string
}

Config for executor

type Executor

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

Executor is the replicant execution service

func New

func New(c Config) (e *Executor, err error)

New creates a new executor

func (*Executor) Run

func (e *Executor) Run(uuid string, c transaction.Config) (r transaction.Result, err error)

Run the given transaction

Jump to

Keyboard shortcuts

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