storage

package
v0.0.0-...-4043622 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountStorage

type AccountStorage struct {
	Storage
}

func NewAccountStorage

func NewAccountStorage(db *sqlx.DB) *AccountStorage

func (*AccountStorage) Create

func (a *AccountStorage) Create(record *internalmodels.AccountRecord) error

func (*AccountStorage) Delete

func (a *AccountStorage) Delete(record *internalmodels.AccountRecord) error

type Storage

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

func (*Storage) Add

func (s *Storage) Add(dataRecord interface{}) error

func (*Storage) CheckExists

func (s *Storage) CheckExists(ID strfmt.UUID) (bool, error)

func (*Storage) DeleteRecord

func (s *Storage) DeleteRecord(predicate interface{}) error

func (*Storage) GetByID

func (s *Storage) GetByID(ID uuid.UUID, result interface{}) error

func (*Storage) Update

func (s *Storage) Update(dataRecord interface{}) error

Jump to

Keyboard shortcuts

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