executor

package
v6.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2019 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetName

func GetName() string

GetName for norm

func Init

func Init(name string, sub []byte)

Init norm

func Key

func Key(str []byte) (key []byte)

Key for norm

Types

type Norm

type Norm struct {
	drivers.DriverBase
}

Norm driver

func (*Norm) CheckReceiptExecOk

func (n *Norm) CheckReceiptExecOk() bool

CheckReceiptExecOk return true to check if receipt ty is ok

func (*Norm) CheckTx

func (n *Norm) CheckTx(tx *types.Transaction, index int) error

CheckTx for norm

func (*Norm) ExecDelLocal_Nput

func (n *Norm) ExecDelLocal_Nput(nput *pty.NormPut, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecDelLocal_Nput Action

func (*Norm) ExecLocal_Nput

func (n *Norm) ExecLocal_Nput(nput *pty.NormPut, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecLocal_Nput Action

func (*Norm) Exec_Nput

func (n *Norm) Exec_Nput(nput *pty.NormPut, tx *types.Transaction, index int) (*types.Receipt, error)

Exec_Nput Action

func (*Norm) GetDriverName

func (n *Norm) GetDriverName() string

GetDriverName for norm

func (*Norm) Query_NormGet

func (n *Norm) Query_NormGet(in *pty.NormGetKey) (types.Message, error)

Query_NormGet get value

Jump to

Keyboard shortcuts

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