Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
Env DriverType `json:"env"`
}
type DriverType ¶
type DriverType string
const BadgerDriver DriverType = "badgerdb"
const DgraphDriver DriverType = "dgraphdb"
func (DriverType) String ¶
func (dt DriverType) String() string
type Storage ¶
type Storage interface { SaveTx(ctx context.Context) error FindTx(ctx context.Context) SearchTxs(ctx context.Context) SaveBlock(ctx context.Context) FindBlock(ctx context.Context) SearchBlocks(ctx context.Context) SaveEvent(ctx context.Context) FindEvent(ctx context.Context) SearchEvents(ctx context.Context) }
Click to show internal directories.
Click to hide internal directories.