interfaces

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserDeleter

type UserDeleter interface {
	DeleteUser(ctx context.Context, email string) error
}

type UserEmailGetter

type UserEmailGetter interface {
	UserByEmail(context.Context, string) (*model.User, error)
}

type UserIdGetter

type UserIdGetter interface {
	UserById(context.Context, string) (*model.User, error)
}

type UserSaver

type UserSaver interface {
	SaveUser(context.Context, model.User) (id string, err error)
}

type UserUpdater

type UserUpdater interface {
	UpdateUser(context.Context, model.User) error
}

Jump to

Keyboard shortcuts

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