minimal

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cfg

type Cfg struct {
	Viper              *viper.Viper
	Logger             log.Logger
	GoNativeGenerators []schema.NewPlugin
}

type Dag

type Dag struct {
	Id    string
	Steps []string
}

type Minimal

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

func NewMinimal

func NewMinimal(cfg *Cfg) (*Minimal, error)

func (*Minimal) FInit

func (m *Minimal) FInit() error

func (*Minimal) Init

func (m *Minimal) Init() error

func (*Minimal) Process

func (m *Minimal) Process(dag Dag, msg *proto.Msg, opts ...Option) ([]byte, error)

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithKvs

func WithKvs(kvs map[string]interface{}) Option

Jump to

Keyboard shortcuts

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