store

package
v0.0.0-...-8bbec6a Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserStorer

type UserStorer interface {
	Login(username, password string) (entities.User, error)
	Register(user *entities.User) error
	GetAllUsers() ([]entities.User, error)
	GetUser(id string) (entities.User, error)
	DeleteUser(id string) error
	UpdateUser(id string, userForm *entities.UserForm) (entities.User, error)
}

UserStorer interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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