core

package
v0.0.0-...-c772d2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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()

func (*BlockDB) Name

func (n *BlockDB) Name() string

func (*BlockDB) Setup

func (n *BlockDB) Setup()

func (*BlockDB) Start

func (n *BlockDB) Start()

func (*BlockDB) Stop

func (n *BlockDB) Stop()

type BusinessReader

type BusinessReader struct {
	// contains filtered or unexported fields
}

func NewBusinessReader

func NewBusinessReader(storageExecutor core_interface.StorageExecutor) *BusinessReader

func (*BusinessReader) Action

func (s *BusinessReader) Action(ctx context.Context, opHash string, version int) ([]byte, error)

func (*BusinessReader) Actions

func (s *BusinessReader) Actions(ctx context.Context, opHash string) ([]byte, error)

func (*BusinessReader) Close

func (s *BusinessReader) Close(ctx context.Context) error

func (*BusinessReader) CurrentValue

func (s *BusinessReader) CurrentValue(ctx context.Context, opHash string) ([]byte, error)

func (*BusinessReader) Info

func (s *BusinessReader) Info(ctx context.Context, opHash string) ([]byte, error)

func (*BusinessReader) Value

func (s *BusinessReader) Value(ctx context.Context, opHash string, version int) ([]byte, error)

func (*BusinessReader) Values

func (s *BusinessReader) Values(ctx context.Context, opHash string) ([]byte, error)

type Component

type Component interface {
	Start()
	Stop()
	// Get the component name
	Name() string
}

type DefaultCommandProcessor

type DefaultCommandProcessor struct {
}

func (DefaultCommandProcessor) Process

type DefaultJsonCommandParser

type DefaultJsonCommandParser struct {
}

func (DefaultJsonCommandParser) FromJson

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL