Documentation
¶
Index ¶
- func Load()
- func NewApplicationInterface(kvDriver kvDatabase.IDriver, sqlDriver simpleSQLDatabase.IDriver) (app chainStructure.IBlockchainExternalApplication)
- type CopyrightStorageApplication
- func (t *CopyrightStorageApplication) Execute(req blockchainRequest.Entity, blk block.Entity, actIndex uint32) (result applicationResult.Entity, err error)
- func (t *CopyrightStorageApplication) Information() (info service.BasicInformation)
- func (t *CopyrightStorageApplication) Name() (name string)
- func (t *CopyrightStorageApplication) PreExecute(req blockchainRequest.Entity, _ block.Entity) (result []byte, err error)
- func (t *CopyrightStorageApplication) PushClientRequest(req blockchainRequest.Entity) (result interface{}, err error)
- func (t *CopyrightStorageApplication) Query(reqData []byte) (result interface{}, err error)
- func (t *CopyrightStorageApplication) RequestsForBlock(_ block.Entity) (reqList []blockchainRequest.Entity, cnt uint32)
- type RequestList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplicationInterface ¶
func NewApplicationInterface(kvDriver kvDatabase.IDriver, sqlDriver simpleSQLDatabase.IDriver) (app chainStructure.IBlockchainExternalApplication)
Types ¶
type CopyrightStorageApplication ¶
type CopyrightStorageApplication struct { chainStructure.BlankApplication // contains filtered or unexported fields }
func (*CopyrightStorageApplication) Execute ¶
func (t *CopyrightStorageApplication) Execute( req blockchainRequest.Entity, blk block.Entity, actIndex uint32, ) (result applicationResult.Entity, err error)
func (*CopyrightStorageApplication) Information ¶
func (t *CopyrightStorageApplication) Information() (info service.BasicInformation)
func (*CopyrightStorageApplication) Name ¶
func (t *CopyrightStorageApplication) Name() (name string)
func (*CopyrightStorageApplication) PreExecute ¶
func (t *CopyrightStorageApplication) PreExecute(req blockchainRequest.Entity, _ block.Entity) (result []byte, err error)
func (*CopyrightStorageApplication) PushClientRequest ¶
func (t *CopyrightStorageApplication) PushClientRequest(req blockchainRequest.Entity) (result interface{}, err error)
func (*CopyrightStorageApplication) Query ¶
func (t *CopyrightStorageApplication) Query(reqData []byte) (result interface{}, err error)
func (*CopyrightStorageApplication) RequestsForBlock ¶
func (t *CopyrightStorageApplication) RequestsForBlock(_ block.Entity) (reqList []blockchainRequest.Entity, cnt uint32)
type RequestList ¶
type RequestList struct {
Requests []blockchainRequest.Entity
}
Click to show internal directories.
Click to hide internal directories.