adminusers

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: AGPL-3.0 Imports: 6 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 New

func New(
	users repository.Users, sessions repository.Sessions, subscriptions service.SubscriptionService,
	auth service.AuthService,
) *Service

func (*Service) ChangePassword

func (s *Service) ChangePassword(ctx context.Context, userUuid uuid.UUID, newPassword string) error

func (*Service) CreateUser

func (s *Service) CreateUser(ctx context.Context, email, password string) (domain.User, error)

func (*Service) GetUser

func (s *Service) GetUser(ctx context.Context, userUuid uuid.UUID) (domain.UserDetails, error)

func (*Service) GetUserSessions

func (s *Service) GetUserSessions(ctx context.Context, userUuid uuid.UUID) ([]domain.Session, error)

func (*Service) ListUsers

func (s *Service) ListUsers(ctx context.Context, req domain.ListUsersReq) ([]domain.User, int64, error)

Jump to

Keyboard shortcuts

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