executor

package
v1.67.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: BSD-3-Clause Imports: 22 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetName

func GetName() string

GetName 获取名字

func Init

func Init(name string, cfg *types.Chain33Config, sub []byte)

Init 插件初始化

func InitExecType

func InitExecType()

InitExecType ...

Types

type JSONRow

type JSONRow struct {
	*jsproto.JsLog
	// contains filtered or unexported fields
}

JSONRow meta

func NewJSONRow

func NewJSONRow(config string, defaultvalue string) (*JSONRow, error)

NewJSONRow 创建一个row

func (*JSONRow) CreateRow

func (row *JSONRow) CreateRow() *table.Row

CreateRow 创建一行

func (*JSONRow) Get

func (row *JSONRow) Get(key string) ([]byte, error)

Get value of row

func (*JSONRow) SetPayload

func (row *JSONRow) SetPayload(data types.Message) error

SetPayload 设置行的内容

Jump to

Keyboard shortcuts

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