function

package
v0.0.0-...-f7dc3f6 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(f model.Function) (fPrepared environment.Function, err error)

Types

type FunctionExpression

type FunctionExpression struct {
	Operation string
	// contains filtered or unexported fields
}

func (*FunctionExpression) Init

func (w *FunctionExpression) Init() (err error)

func (*FunctionExpression) Run

func (w *FunctionExpression) Run(dataIn model.Object) (dataOut model.Object, err error)

type FunctionFhub

type FunctionFhub struct {
	Http      *http.Client
	Operation string
	// contains filtered or unexported fields
}

func (*FunctionFhub) Init

func (w *FunctionFhub) Init() error

func (*FunctionFhub) Run

func (w *FunctionFhub) Run(dataIn model.Object) (model.Object, error)

type FunctionGrpc

type FunctionGrpc struct {
	Operation string
}

func NewFunctionGrpc

func NewFunctionGrpc(operation string) *FunctionGrpc

func (*FunctionGrpc) Init

func (w *FunctionGrpc) Init(data model.Object) error

func (*FunctionGrpc) Run

func (w *FunctionGrpc) Run(data model.Object) (model.Object, error)

type FunctionRest

type FunctionRest struct {
	Http      *http.Client
	Operation string
	// contains filtered or unexported fields
}

func (*FunctionRest) Init

func (w *FunctionRest) Init() error

func (*FunctionRest) Run

func (w *FunctionRest) Run(dataIn model.Object) (model.Object, error)

Jump to

Keyboard shortcuts

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