opcode

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeOp = iota
	TypeCond
	TypeAsync
)

Variables

This section is empty.

Functions

func Doc added in v0.0.19

func Doc(op string) string

func Docs added in v0.0.19

func Docs() []string

Types

type Count

type Count struct{}

func NewCount

func NewCount() *Count

func (*Count) Doc added in v0.0.19

func (o *Count) Doc() string

func (*Count) Run

func (o *Count) Run(_ context.Context, comp *inside.Component, _ []interface{}) (interface{}, error)

func (*Count) Type added in v0.0.19

func (o *Count) Type() int

type Cron added in v0.0.19

type Cron struct{}

func NewCron added in v0.0.19

func NewCron() *Cron

func (*Cron) Doc added in v0.0.19

func (o *Cron) Doc() string

func (*Cron) Run added in v0.0.19

func (o *Cron) Run(_ context.Context, _ *inside.Component, _ []interface{}) (interface{}, error)

func (*Cron) Type added in v0.0.19

func (o *Cron) Type() int

type Debug added in v0.0.18

type Debug struct{}

func NewDebug added in v0.0.18

func NewDebug() *Debug

func (*Debug) Doc added in v0.0.19

func (o *Debug) Doc() string

func (*Debug) Run added in v0.0.18

func (o *Debug) Run(_ context.Context, comp *inside.Component, params []interface{}) (interface{}, error)

func (*Debug) Type added in v0.0.19

func (o *Debug) Type() int

type Dedupe added in v0.0.19

type Dedupe struct{}

func NewDedupe added in v0.0.19

func NewDedupe() *Dedupe

func (*Dedupe) Doc added in v0.0.19

func (o *Dedupe) Doc() string

func (*Dedupe) Run added in v0.0.19

func (o *Dedupe) Run(_ context.Context, comp *inside.Component, params []interface{}) (interface{}, error)

func (*Dedupe) Type added in v0.0.19

func (o *Dedupe) Type() int

type Echo added in v0.0.19

type Echo struct{}

func NewEcho added in v0.0.19

func NewEcho() *Echo

func (*Echo) Doc added in v0.0.19

func (o *Echo) Doc() string

func (*Echo) Run added in v0.0.19

func (o *Echo) Run(ctx context.Context, comp *inside.Component, params []interface{}) (interface{}, error)

func (*Echo) Type added in v0.0.19

func (o *Echo) Type() int

type Else added in v0.0.19

type Else struct{}

func NewElse added in v0.0.19

func NewElse() *Else

func (*Else) Doc added in v0.0.19

func (o *Else) Doc() string

func (*Else) Run added in v0.0.19

func (o *Else) Run(_ context.Context, comp *inside.Component, _ []interface{}) (interface{}, error)

func (*Else) Type added in v0.0.19

func (o *Else) Type() int

type Env added in v0.0.21

type Env struct{}

func NewEnv added in v0.0.21

func NewEnv() *Env

func (*Env) Doc added in v0.0.21

func (o *Env) Doc() string

func (*Env) Run added in v0.0.21

func (o *Env) Run(ctx context.Context, comp *inside.Component, params []interface{}) (interface{}, error)

func (*Env) Type added in v0.0.21

func (o *Env) Type() int

type Get

type Get struct{}

func NewGet

func NewGet() *Get

func (*Get) Doc added in v0.0.19

func (o *Get) Doc() string

func (*Get) Run

func (o *Get) Run(_ context.Context, comp *inside.Component, params []interface{}) (interface{}, error)

func (*Get) Type added in v0.0.19

func (o *Get) Type() int

type If added in v0.0.19

type If struct{}

func NewIf added in v0.0.19

func NewIf() *If

func (*If) Doc added in v0.0.19

func (o *If) Doc() string

func (*If) Run added in v0.0.19

func (o *If) Run(_ context.Context, comp *inside.Component, _ []interface{}) (interface{}, error)

func (*If) Type added in v0.0.19

func (o *If) Type() int

type Json added in v0.0.19

type Json struct{}

func NewJson added in v0.0.19

func NewJson() *Json

func (*Json) Doc added in v0.0.19

func (o *Json) Doc() string

func (*Json) Run added in v0.0.19

func (o *Json) Run(_ context.Context, comp *inside.Component, _ []interface{}) (interface{}, error)

func (*Json) Type added in v0.0.19

func (o *Json) Type() int

type Message added in v0.0.19

type Message struct{}

func NewMessage added in v0.0.19

func NewMessage() *Message

func (*Message) Doc added in v0.0.19

func (o *Message) Doc() string

func (*Message) Run added in v0.0.19

func (o *Message) Run(ctx context.Context, comp *inside.Component, _ []interface{}) (interface{}, error)

func (*Message) Type added in v0.0.19

func (o *Message) Type() int

type Opcoder added in v0.0.18

type Opcoder interface {
	Type() int
	Doc() string
	Run(ctx context.Context, comp *inside.Component, params []interface{}) (interface{}, error)
}

func NewOpcode added in v0.0.19

func NewOpcode(name string) Opcoder

type Query added in v0.0.19

type Query struct{}

func NewQuery added in v0.0.19

func NewQuery() *Query

func (*Query) Doc added in v0.0.19

func (o *Query) Doc() string

func (*Query) Run added in v0.0.19

func (o *Query) Run(_ context.Context, comp *inside.Component, params []interface{}) (interface{}, error)

func (*Query) Type added in v0.0.19

func (o *Query) Type() int

type Secret added in v0.0.21

type Secret struct{}

func NewSecret added in v0.0.21

func NewSecret() *Secret

func (*Secret) Doc added in v0.0.21

func (o *Secret) Doc() string

func (*Secret) Run added in v0.0.21

func (o *Secret) Run(ctx context.Context, comp *inside.Component, params []interface{}) (interface{}, error)

func (*Secret) Type added in v0.0.21

func (o *Secret) Type() int

type Set added in v0.0.19

type Set struct{}

func NewSet added in v0.0.19

func NewSet() *Set

func (*Set) Doc added in v0.0.19

func (o *Set) Doc() string

func (*Set) Run added in v0.0.19

func (o *Set) Run(_ context.Context, comp *inside.Component, params []interface{}) (interface{}, error)

func (*Set) Type added in v0.0.19

func (o *Set) Type() int

type Status added in v0.0.19

type Status struct{}

func NewStatus added in v0.0.19

func NewStatus() *Status

func (*Status) Doc added in v0.0.19

func (o *Status) Doc() string

func (*Status) Run added in v0.0.19

func (o *Status) Run(_ context.Context, _ *inside.Component, params []interface{}) (interface{}, error)

func (*Status) Type added in v0.0.19

func (o *Status) Type() int

type Task added in v0.0.18

type Task struct{}

func NewTask added in v0.0.18

func NewTask() *Task

func (*Task) Doc added in v0.0.19

func (o *Task) Doc() string

func (*Task) Run added in v0.0.18

func (o *Task) Run(ctx context.Context, comp *inside.Component, params []interface{}) (interface{}, error)

func (*Task) Type added in v0.0.19

func (o *Task) Type() int

type Webhook added in v0.0.19

type Webhook struct{}

func NewWebhook added in v0.0.19

func NewWebhook() *Webhook

func (*Webhook) Doc added in v0.0.19

func (o *Webhook) Doc() string

func (*Webhook) Run added in v0.0.19

func (o *Webhook) Run(_ context.Context, _ *inside.Component, _ []interface{}) (interface{}, error)

func (*Webhook) Type added in v0.0.19

func (o *Webhook) Type() int

Jump to

Keyboard shortcuts

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