user

package
v0.0.0-...-91ccb22 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: CC0-1.0 Imports: 10 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 struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(queries *database.Queries, worker spaceflake.Worker) *Service

func (*Service) CreateUser

func (s *Service) CreateUser(username, email, password string) (*database.User, error)

func (*Service) DeleteUser

func (s *Service) DeleteUser(id string) error

func (*Service) GetUserByEmail

func (s *Service) GetUserByEmail(email string) (*database.User, error)

func (*Service) GetUserById

func (s *Service) GetUserById(id string) (*database.GetUserByIdRow, error)

func (*Service) GetUserWatchlist

func (s *Service) GetUserWatchlist(id string, first *int, after *string) (*model.WatchlistConnection, error)

func (*Service) UpdateUserPassword

func (s *Service) UpdateUserPassword(id, newPassword string) error

Jump to

Keyboard shortcuts

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