gateway

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UsersGateway

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

func NewUsersGateway

func NewUsersGateway(db *sql.DB) UsersGateway

Jump to

Keyboard shortcuts

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