reflidx

package
v0.0.0-...-157c9c8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EntsBucket    = []byte("ents")
	IndexesBucket = []byte("idxs")
	// TODO: unexpose, make an object, add registers
	Funcs lmap.Map[string, any]
)

Functions

This section is empty.

Types

type EntStore

type EntStore[E entity.Entity] struct {
	*entity.EntStore[E]
}

func New

func New[E entity.Entity](r Rounder, f store.Factory) EntStore[E]

func (EntStore[E]) AddMethod

func (es EntStore[E]) AddMethod(name string, multi bool)

type Namer

type Namer interface {
	Name() string
}

type Round

type Round struct {
	serial.Serializer
	serial.Deserializer
}

type Rounder

type Rounder interface {
	serial.Serializer
	serial.Deserializer
}

TODO: Move this to serial

Jump to

Keyboard shortcuts

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