Documentation ¶
Index ¶
- func GetName() string
- func Init(name string, sub []byte)
- func Key(str []byte) (key []byte)
- type Norm
- func (n *Norm) CheckReceiptExecOk() bool
- func (n *Norm) CheckTx(tx *types.Transaction, index int) error
- func (n *Norm) ExecDelLocal_Nput(nput *pty.NormPut, tx *types.Transaction, receipt *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (n *Norm) ExecLocal_Nput(nput *pty.NormPut, tx *types.Transaction, receipt *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (n *Norm) Exec_Nput(nput *pty.NormPut, tx *types.Transaction, index int) (*types.Receipt, error)
- func (n *Norm) GetDriverName() string
- func (n *Norm) Query_NormGet(in *pty.NormGetKey) (types.Message, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Norm ¶
type Norm struct {
drivers.DriverBase
}
Norm driver
func (*Norm) CheckReceiptExecOk ¶
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) Query_NormGet ¶
Query_NormGet get value
Click to show internal directories.
Click to hide internal directories.