opcode

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunOpcode added in v0.0.18

func RunOpcode(ctx *inside.Context, name string, params []interface{}) (interface{}, error)

Types

type Count

type Count struct{}

func NewCount

func NewCount() *Count

func (*Count) Run

func (c *Count) Run(ctx *inside.Context, _ []interface{}) (interface{}, error)

type Debug added in v0.0.18

type Debug struct{}

func NewDebug added in v0.0.18

func NewDebug() *Debug

func (*Debug) Run added in v0.0.18

func (d *Debug) Run(ctx *inside.Context, params []interface{}) (interface{}, error)

type Get

type Get struct{}

func NewGet

func NewGet() *Get

func (*Get) Run

func (o *Get) Run(ctx *inside.Context, params []interface{}) (interface{}, error)

type Opcoder added in v0.0.18

type Opcoder interface {
	Run(ctx *inside.Context, params []interface{}) (interface{}, error)
}

type Send

type Send struct{}

func NewSend

func NewSend() *Send

func (*Send) Run

func (c *Send) Run(ctx *inside.Context, params []interface{}) (interface{}, error)

type Task added in v0.0.18

type Task struct{}

func NewTask added in v0.0.18

func NewTask() *Task

func (*Task) Run added in v0.0.18

func (t *Task) Run(ctx *inside.Context, params []interface{}) (interface{}, error)

Jump to

Keyboard shortcuts

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