ramdb

package
v0.0.0-...-160e8be Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

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

type ItemMap

type ItemMap map[string]*Item

type RamDb

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

func NewRamDb

func NewRamDb() *RamDb

func (*RamDb) Create

func (ramdb *RamDb) Create(concern string, key string, inst proto.Message, cmpdOffset *rkcypb.CompoundOffset) error

func (*RamDb) Delete

func (ramdb *RamDb) Delete(concern string, key string, cmpdOffset *rkcypb.CompoundOffset) error

func (*RamDb) Read

func (ramdb *RamDb) Read(concern string, key string) (proto.Message, proto.Message, *rkcypb.CompoundOffset, error)

func (*RamDb) Update

func (ramdb *RamDb) Update(concern string, key string, inst proto.Message, rel proto.Message, cmpdOffset *rkcypb.CompoundOffset) error

Jump to

Keyboard shortcuts

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