storage

package
v0.0.0-...-d3fe3c7 Latest Latest
Warning

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

Go to latest
Published: May 30, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct{}

func NewRepository

func NewRepository() Repository

func (Repository) GetBoxContent

func (r Repository) GetBoxContent(boxID string) (service.BoxContentResult, error)

func (Repository) GetTopLevelBoxesForUser

func (r Repository) GetTopLevelBoxesForUser(userName string) ([]model.Box, error)

func (Repository) SaveBox

func (r Repository) SaveBox(b model.Box) error

func (Repository) SaveThing

func (r Repository) SaveThing(t model.Thing, boxID string) error

func (Repository) SaveTopBox

func (r Repository) SaveTopBox(userName string, b model.Box) error

Jump to

Keyboard shortcuts

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