datastore

package
v0.0.0-...-827af26 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Db

type Db struct {
	Clients []*domain.Client
}

func (*Db) GetClient

func (db *Db) GetClient(id string) (*domain.Client, error)

func (*Db) NewClient

func (db *Db) NewClient(client *domain.Client) (string, error)

func (*Db) RemoveClient

func (db *Db) RemoveClient(id string) (*domain.Client, error)

func (*Db) UpdateClient

func (db *Db) UpdateClient(id string, client *domain.Client) (*domain.Client, error)

Jump to

Keyboard shortcuts

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