interpreter

package
v2.2.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Interpret

func Interpret(ctx context.Context, options Options, dependencies Dependencies) error

Interpret ...

Types

type Context

type Context interface {
	context.Context
}

Context ...

It's used only for mock generating.

type Dependencies

type Dependencies struct {
	Reader  ReaderDependencies
	Runtime runtime.Dependencies
}

Dependencies ...

type ErrorHandler

type ErrorHandler interface {
	runtime.ErrorHandler
}

ErrorHandler ...

It's used only for mock generating.

type File

type File interface {
	afero.File
}

File ...

It's used only for mock generating.

type FileSystem

type FileSystem interface {
	afero.Fs
}

FileSystem ...

It's used only for mock generating.

type Options

type Options struct {
	Filename       string
	InboxSize      int
	InitialState   string
	InitialMessage string
}

Options ...

type Reader

type Reader interface {
	io.Reader
}

Reader ...

It's used only for mock generating.

type ReaderDependencies

type ReaderDependencies struct {
	DefaultReader io.Reader
	FileSystem    afero.Fs
}

ReaderDependencies ...

type WaitGroup

type WaitGroup interface {
	syncutils.WaitGroup
}

WaitGroup ...

It's used only for mock generating.

Jump to

Keyboard shortcuts

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