Documentation ¶
Index ¶
- type CertManageContract
- type CertManageRuntime
- func (r *CertManageRuntime) Add(txSimContext protocol.TxSimContext, _ map[string][]byte) (result []byte, err error)
- func (r *CertManageRuntime) AddAlias(txSimContext protocol.TxSimContext, params map[string][]byte) (result []byte, err error)
- func (r *CertManageRuntime) Delete(txSimContext protocol.TxSimContext, params map[string][]byte) (result []byte, event []*commonPb.ContractEvent, err error)
- func (r *CertManageRuntime) DeleteAlias(txSimContext protocol.TxSimContext, params map[string][]byte) (result []byte, event []*commonPb.ContractEvent, err error)
- func (r *CertManageRuntime) Freeze(txSimContext protocol.TxSimContext, params map[string][]byte) ([]byte, []*commonPb.ContractEvent, error)
- func (r *CertManageRuntime) Query(txSimContext protocol.TxSimContext, params map[string][]byte) ([]byte, error)
- func (r *CertManageRuntime) QueryAlias(txSimContext protocol.TxSimContext, params map[string][]byte) (result []byte, err error)
- func (r *CertManageRuntime) Revoke(txSimContext protocol.TxSimContext, params map[string][]byte) ([]byte, []*commonPb.ContractEvent, error)
- func (r *CertManageRuntime) Unfreeze(txSimContext protocol.TxSimContext, params map[string][]byte) ([]byte, []*commonPb.ContractEvent, error)
- func (r *CertManageRuntime) UpdateAlias(txSimContext protocol.TxSimContext, params map[string][]byte) (result []byte, event []*commonPb.ContractEvent, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertManageContract ¶
type CertManageContract struct {
// contains filtered or unexported fields
}
CertManageContract comment at next version
func NewCertManageContract ¶
func NewCertManageContract(log protocol.Logger) *CertManageContract
NewCertManageContract comment at next version
func (*CertManageContract) GetMethod ¶
func (c *CertManageContract) GetMethod(methodName string) common.ContractFunc
GetMethod get register method by name
type CertManageRuntime ¶
type CertManageRuntime struct {
// contains filtered or unexported fields
}
CertManageRuntime comment at next version
func (*CertManageRuntime) Add ¶
func (r *CertManageRuntime) Add(txSimContext protocol.TxSimContext, _ map[string][]byte) ( result []byte, err error)
Add cert add
func (*CertManageRuntime) AddAlias ¶ added in v2.2.0
func (r *CertManageRuntime) AddAlias(txSimContext protocol.TxSimContext, params map[string][]byte) ( result []byte, err error)
AddAlias comment at next version
func (*CertManageRuntime) Delete ¶
func (r *CertManageRuntime) Delete(txSimContext protocol.TxSimContext, params map[string][]byte) ( result []byte, event []*commonPb.ContractEvent, err error)
Delete cert delete
func (*CertManageRuntime) DeleteAlias ¶ added in v2.2.0
func (r *CertManageRuntime) DeleteAlias(txSimContext protocol.TxSimContext, params map[string][]byte) ( result []byte, event []*commonPb.ContractEvent, err error)
DeleteAlias 本组织管理员
func (*CertManageRuntime) Freeze ¶
func (r *CertManageRuntime) Freeze(txSimContext protocol.TxSimContext, params map[string][]byte) ( []byte, []*commonPb.ContractEvent, error)
Freeze certs
func (*CertManageRuntime) Query ¶
func (r *CertManageRuntime) Query(txSimContext protocol.TxSimContext, params map[string][]byte) ([]byte, error)
Query certs query
func (*CertManageRuntime) QueryAlias ¶ added in v2.2.0
func (r *CertManageRuntime) QueryAlias(txSimContext protocol.TxSimContext, params map[string][]byte) ( result []byte, err error)
QueryAlias comment at next version
func (*CertManageRuntime) Revoke ¶
func (r *CertManageRuntime) Revoke(txSimContext protocol.TxSimContext, params map[string][]byte) ( []byte, []*commonPb.ContractEvent, error)
Revoke certs revocation
func (*CertManageRuntime) Unfreeze ¶
func (r *CertManageRuntime) Unfreeze(txSimContext protocol.TxSimContext, params map[string][]byte) ( []byte, []*commonPb.ContractEvent, error)
Unfreeze certs unfreeze
func (*CertManageRuntime) UpdateAlias ¶ added in v2.2.0
func (r *CertManageRuntime) UpdateAlias(txSimContext protocol.TxSimContext, params map[string][]byte) ( result []byte, event []*commonPb.ContractEvent, err error)
UpdateAlias 本组织管理员
Click to show internal directories.
Click to hide internal directories.