Documentation ¶
Index ¶
- Variables
- func BuildEcosystemLookupGetter() types.EcosystemLookupGetter
- func BuildEcosystemNameGetter() types.EcosystemNameGetter
- func GetClientTxPreprocessor() types.ClientTxPreprocessor
- func GetDaemonListFactory() types.DaemonListFactory
- func GetDaemonLoader() types.DaemonLoader
- func GetEcosystemIDValidator() types.EcosystemIDValidator
- func GetSmartContractRunner() types.SmartContractRunner
- func RegisterRoutes() http.Handler
- type BCDaemonLoader
- type BCEcosysIDValidator
- type BCEcosysLookupGetter
- type BCEcosystemNameGetter
- type BlockchainDaemonsListsFactory
- type BlockchainSCRunner
- type OBSDaemonLoader
- type OBSDaemonsListFactory
- type OBSEcosysIDValidator
- type OBSEcosystemLookupGetter
- type OBSEcosystemNameGetter
- type OBSSCRunner
- type ObsTxPreprocessor
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDiffKey = errors.New("Different keys")
Functions ¶
func BuildEcosystemLookupGetter ¶
func BuildEcosystemLookupGetter() types.EcosystemLookupGetter
func BuildEcosystemNameGetter ¶
func BuildEcosystemNameGetter() types.EcosystemNameGetter
func GetClientTxPreprocessor ¶
func GetClientTxPreprocessor() types.ClientTxPreprocessor
func GetDaemonListFactory ¶
func GetDaemonListFactory() types.DaemonListFactory
func GetDaemonLoader ¶
func GetDaemonLoader() types.DaemonLoader
func GetEcosystemIDValidator ¶
func GetEcosystemIDValidator() types.EcosystemIDValidator
func GetSmartContractRunner ¶
func GetSmartContractRunner() types.SmartContractRunner
GetSmartContractRunner returns mode boundede implementation of SmartContractRunner
func RegisterRoutes ¶
Types ¶
type BCDaemonLoader ¶
type BCDaemonLoader struct { DaemonListFactory types.DaemonListFactory // contains filtered or unexported fields }
BCDaemonLoader allow load blockchain daemons
type BCEcosysIDValidator ¶
type BCEcosysIDValidator struct {
// contains filtered or unexported fields
}
type BCEcosysLookupGetter ¶
type BCEcosysLookupGetter struct{}
func (BCEcosysLookupGetter) GetEcosystemLookup ¶
func (g BCEcosysLookupGetter) GetEcosystemLookup() ([]int64, []string, error)
type BCEcosystemNameGetter ¶
type BCEcosystemNameGetter struct{}
func (BCEcosystemNameGetter) GetEcosystemName ¶
func (ng BCEcosystemNameGetter) GetEcosystemName(id int64) (string, error)
type BlockchainDaemonsListsFactory ¶
type BlockchainDaemonsListsFactory struct{}
func (BlockchainDaemonsListsFactory) GetDaemonsList ¶
func (f BlockchainDaemonsListsFactory) GetDaemonsList() []string
type BlockchainSCRunner ¶
type BlockchainSCRunner struct{}
BlockchainSCRunner implementls SmartContractRunner for blockchain mode
func (BlockchainSCRunner) RunContract ¶
RunContract runs smart contract on blockchain mode
type OBSDaemonLoader ¶
type OBSDaemonLoader struct { DaemonListFactory types.DaemonListFactory // contains filtered or unexported fields }
OBSDaemonLoader allows load obs daemons
type OBSDaemonsListFactory ¶
type OBSDaemonsListFactory struct{}
func (OBSDaemonsListFactory) GetDaemonsList ¶
func (f OBSDaemonsListFactory) GetDaemonsList() []string
type OBSEcosysIDValidator ¶
type OBSEcosysIDValidator struct{}
type OBSEcosystemLookupGetter ¶
type OBSEcosystemLookupGetter struct{}
func (OBSEcosystemLookupGetter) GetEcosystemLookup ¶
func (g OBSEcosystemLookupGetter) GetEcosystemLookup() ([]int64, []string, error)
type OBSEcosystemNameGetter ¶
type OBSEcosystemNameGetter struct{}
func (OBSEcosystemNameGetter) GetEcosystemName ¶
func (ng OBSEcosystemNameGetter) GetEcosystemName(id int64) (string, error)
type OBSSCRunner ¶
type OBSSCRunner struct{}
OBSSCRunner implementls SmartContractRunner for obs mode
func (OBSSCRunner) RunContract ¶
RunContract runs smart contract on obs mode
type ObsTxPreprocessor ¶
type ObsTxPreprocessor struct{}
func (ObsTxPreprocessor) ProcessClientTranstaction ¶
Click to show internal directories.
Click to hide internal directories.