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
Click to show internal directories.
Click to hide internal directories.