storage

package
v0.0.0-...-19239a5 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: EUPL-1.2 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalStorage

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

func New

func New(basePath string) *LocalStorage

func (*LocalStorage) DeleteAll

func (storage *LocalStorage) DeleteAll() error

func (*LocalStorage) DeleteDraft

func (storage *LocalStorage) DeleteDraft(ctx goContext.Context, id string) error

func (*LocalStorage) DeleteInvoice

func (storage *LocalStorage) DeleteInvoice(ctx goContext.Context, id string) error

func (*LocalStorage) DeleteVisualization

func (storage *LocalStorage) DeleteVisualization(ctx goContext.Context, id string) error

func (*LocalStorage) GetDraft

func (storage *LocalStorage) GetDraft(ctx goContext.Context, id string) ([]byte, error)

func (*LocalStorage) GetInvoice

func (storage *LocalStorage) GetInvoice(ctx goContext.Context, id string) ([]byte, error)

func (*LocalStorage) GetVisualization

func (storage *LocalStorage) GetVisualization(ctx goContext.Context, id string) ([]byte, error)

func (*LocalStorage) SaveDraft

func (storage *LocalStorage) SaveDraft(ctx goContext.Context, id string, value []byte) error

func (*LocalStorage) SaveInvoice

func (storage *LocalStorage) SaveInvoice(ctx goContext.Context, id string, value []byte) error

func (*LocalStorage) SaveVisualization

func (storage *LocalStorage) SaveVisualization(ctx goContext.Context, id string, value []byte) error

type NotFoundError

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

func (*NotFoundError) Error

func (e *NotFoundError) Error() string

Jump to

Keyboard shortcuts

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