storage

package
v0.0.0-...-bff983a Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserStorage

type UserStorage interface {
	Add(user *desc.User, secretID int64) (int64, error)
	Get(filter *models.UsersFilter) ([]*desc.User, error)
	GetByID(id int64) (*desc.User, error)
	GetUserToSalary() (map[string]float64, error)
	Update(id int64, user *desc.User) (int64, error)
	UpdateContacts(id int64, contacts *desc.Contacts) (int64, error)
}

func NewUserStorage

func NewUserStorage(gw gateway.UsersGateway) UserStorage

Jump to

Keyboard shortcuts

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