Documentation ¶
Index ¶
- func GetName() string
- func Init(name string, sub []byte)
- type Cert
- func (c *Cert) CheckReceiptExecOk() bool
- func (c *Cert) CheckTx(tx *types.Transaction, index int) error
- func (c *Cert) ExecLocal_New(payload *ct.CertNew, tx *types.Transaction, receiptData *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (c *Cert) ExecLocal_Normal(payload *ct.CertNormal, tx *types.Transaction, receiptData *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (c *Cert) ExecLocal_Update(payload *ct.CertUpdate, tx *types.Transaction, receiptData *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (c *Cert) GetDriverName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cert ¶
type Cert struct {
drivers.DriverBase
}
Cert cert执行器
func (*Cert) CheckReceiptExecOk ¶
CheckReceiptExecOk return true to check if receipt ty is ok
func (*Cert) CheckTx ¶
func (c *Cert) CheckTx(tx *types.Transaction, index int) error
CheckTx cert执行器tx证书校验
func (*Cert) ExecLocal_New ¶
func (c *Cert) ExecLocal_New(payload *ct.CertNew, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)
ExecLocal_New 启用证书交易执行
func (*Cert) ExecLocal_Normal ¶
func (c *Cert) ExecLocal_Normal(payload *ct.CertNormal, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)
ExecLocal_Normal 非证书变更交易执行
func (*Cert) ExecLocal_Update ¶
func (c *Cert) ExecLocal_Update(payload *ct.CertUpdate, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)
ExecLocal_Update 更新证书交易执行
Click to show internal directories.
Click to hide internal directories.