Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotRunning = errors.New("substrate api is not running")
Functions ¶
func New ¶
func New() (controller.Controller, error)
Types ¶
type BlockchainController ¶
type BlockchainController struct { sync.Mutex state.StateMachine // contains filtered or unexported fields }
Blockchain controller. To be implemented in future
func (*BlockchainController) Close ¶
func (bc *BlockchainController) Close() error
func (*BlockchainController) Recv ¶
func (bc *BlockchainController) Recv() ([]byte, error)
type BlockchainMsg ¶
type CommodityInfo ¶
type CommodityInfo struct {
Info []byte
}
Click to show internal directories.
Click to hide internal directories.