Documentation ¶
Index ¶
- type BlockDB
- type BusinessReader
- func (s *BusinessReader) Action(ctx context.Context, opHash string, version int) ([]byte, error)
- func (s *BusinessReader) Actions(ctx context.Context, opHash string) ([]byte, error)
- func (s *BusinessReader) Close(ctx context.Context) error
- func (s *BusinessReader) CurrentValue(ctx context.Context, opHash string) ([]byte, error)
- func (s *BusinessReader) Info(ctx context.Context, opHash string) ([]byte, error)
- func (s *BusinessReader) Value(ctx context.Context, opHash string, version int) ([]byte, error)
- func (s *BusinessReader) Values(ctx context.Context, opHash string) ([]byte, error)
- type Component
- type DefaultCommandProcessor
- type DefaultJsonCommandParser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockDB ¶
type BlockDB struct {
// contains filtered or unexported fields
}
func (*BlockDB) InitDefault ¶
func (n *BlockDB) InitDefault()
type BusinessReader ¶
type BusinessReader struct {
// contains filtered or unexported fields
}
func NewBusinessReader ¶
func NewBusinessReader(storageExecutor core_interface.StorageExecutor) *BusinessReader
func (*BusinessReader) CurrentValue ¶
type Component ¶
type Component interface { Start() Stop() // Get the component name Name() string }
type DefaultCommandProcessor ¶
type DefaultCommandProcessor struct { }
func (DefaultCommandProcessor) Process ¶
func (d DefaultCommandProcessor) Process(command core_interface.BlockDBCommand) (core_interface.CommandProcessResult, error)
type DefaultJsonCommandParser ¶
type DefaultJsonCommandParser struct { }
func (DefaultJsonCommandParser) FromJson ¶
func (d DefaultJsonCommandParser) FromJson(json string) (core_interface.BlockDBCommand, error)
Click to show internal directories.
Click to hide internal directories.