fakebatchdb

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModule

func NewModule(mc ModuleConfig) modules.Module

NewModule returns a new module for a fake batch database. It stores all the data in memory in plain go maps.

Types

type ModuleConfig

type ModuleConfig struct {
	Self t.ModuleID // id of this module
}

ModuleConfig sets the module ids. All replicas are expected to use identical module configurations.

Jump to

Keyboard shortcuts

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