internal

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildUseCases

func BuildUseCases(logger models.Logger, userService services.UserService, sessionService services.SessionService) *usecases.UseCases

func CoreRoutes

func CoreRoutes(logger models.Logger, userService services.UserService, sessionService services.SessionService) []models.Route

Types

type CoreAPI

type CoreAPI interface {
	GetMe(ctx context.Context, userID string) (*types.GetMeResult, error)
	SignOut(ctx context.Context, userID string, sessionID *string, signOutAll bool) (*types.SignOutResult, error)
}

func NewCoreAPI

func NewCoreAPI(logger models.Logger, userService services.UserService, sessionService services.SessionService) CoreAPI

NewCoreAPI creates a new CoreAPI instance.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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