users

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	CreateUser(email string) (*entities.User, error)
	DeleteUser(email string) error
	UpdateUser(user, update *entities.User) error
	ListUsers() ([]entities.User, error)
	GetUserByEmail(email string) (*entities.User, error)
}

func New

func New(db driver.Database) (Service, error)

Jump to

Keyboard shortcuts

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