mapdb

package
v0.0.0-...-81386c3 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MapDB

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

func NewMapDB

func NewMapDB() *MapDB

func (MapDB) DeletePerson

func (m MapDB) DeletePerson(UUID string) error

func (*MapDB) GetPerson

func (m *MapDB) GetPerson(UUID string) (domain.Person, error)

func (MapDB) ListPersons

func (m MapDB) ListPersons() ([]domain.Person, error)

func (*MapDB) SavePerson

func (m *MapDB) SavePerson(p domain.Person) error

func (MapDB) UpdatePerson

func (m MapDB) UpdatePerson(UUID string) error

Jump to

Keyboard shortcuts

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