usecases

package
v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetMeUseCase

type GetMeUseCase struct {
	Logger         models.Logger
	UserService    services.UserService
	SessionService services.SessionService
}

func (*GetMeUseCase) GetMe

func (uc *GetMeUseCase) GetMe(ctx context.Context, userID string) (*types.GetMeResult, error)

type SignOutUseCase

type SignOutUseCase struct {
	Logger         models.Logger
	SessionService services.SessionService
}

func (*SignOutUseCase) SignOut

func (uc *SignOutUseCase) SignOut(
	ctx context.Context,
	userID string,
	sessionID *string,
	signOutAll bool,
) (*types.SignOutResult, error)

type UseCases

type UseCases struct {
	GetMeUseCase   *GetMeUseCase
	SignOutUseCase *SignOutUseCase
}

Jump to

Keyboard shortcuts

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