Documentation ¶
Index ¶
- Variables
- func Load()
- func NewApplicationInterface(kvDriver kvDatabase.IDriver, sqlDriver simpleSQLDatabase.IDriver) (app chainStructure.IBlockchainExternalApplication)
- type BasicAssetsApplication
- func (b *BasicAssetsApplication) Execute(req blockchainRequest.Entity, blk block.Entity, actIndex uint32) (result applicationResult.Entity, err error)
- func (b *BasicAssetsApplication) GetActionAsRequest(req blockchainRequest.Entity) blockchainRequest.Entity
- func (b *BasicAssetsApplication) Information() (info service.BasicInformation)
- func (b *BasicAssetsApplication) Name() (name string)
- func (b *BasicAssetsApplication) PreExecute(req blockchainRequest.Entity, _ block.Entity) (result []byte, err error)
- func (b *BasicAssetsApplication) PushClientRequest(req blockchainRequest.Entity) (result interface{}, err error)
- func (b *BasicAssetsApplication) Query(req []byte) (result interface{}, err error)
- func (b *BasicAssetsApplication) RequestsForBlock(_ block.Entity) (reqList []blockchainRequest.Entity, cnt uint32)
Constants ¶
This section is empty.
Variables ¶
View Source
var QueryDBType struct { KV enum.Element SQL enum.Element }
Functions ¶
func NewApplicationInterface ¶
func NewApplicationInterface(kvDriver kvDatabase.IDriver, sqlDriver simpleSQLDatabase.IDriver) (app chainStructure.IBlockchainExternalApplication)
Types ¶
type BasicAssetsApplication ¶
type BasicAssetsApplication struct { chainStructure.BlankApplication Ledger *basicAssetsLedger.Ledger SQLStorage *basicAssetsSQLStorage.Storage }
func (*BasicAssetsApplication) Execute ¶
func (b *BasicAssetsApplication) Execute( req blockchainRequest.Entity, blk block.Entity, actIndex uint32, ) (result applicationResult.Entity, err error)
func (*BasicAssetsApplication) GetActionAsRequest ¶
func (b *BasicAssetsApplication) GetActionAsRequest(req blockchainRequest.Entity) blockchainRequest.Entity
func (*BasicAssetsApplication) Information ¶
func (b *BasicAssetsApplication) Information() (info service.BasicInformation)
func (*BasicAssetsApplication) Name ¶
func (b *BasicAssetsApplication) Name() (name string)
func (*BasicAssetsApplication) PreExecute ¶
func (b *BasicAssetsApplication) PreExecute(req blockchainRequest.Entity, _ block.Entity) (result []byte, err error)
func (*BasicAssetsApplication) PushClientRequest ¶
func (b *BasicAssetsApplication) PushClientRequest(req blockchainRequest.Entity) (result interface{}, err error)
func (*BasicAssetsApplication) Query ¶
func (b *BasicAssetsApplication) Query(req []byte) (result interface{}, err error)
func (*BasicAssetsApplication) RequestsForBlock ¶
func (b *BasicAssetsApplication) RequestsForBlock(_ block.Entity) (reqList []blockchainRequest.Entity, cnt uint32)
Click to show internal directories.
Click to hide internal directories.