Help us shape the future of Go! Take the 2026 Go Developer Survey

core

package
v1.48.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: Apache-2.0 Imports: 8 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, sessionID *string) (*types.GetMeResult, error)
	SignOut(ctx context.Context, userID string, currentSessionID *string, requestedSessionID *string, signOutAll *bool) (*types.SignOutResult, error)
}

func NewCoreAPI

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

Directories

Path Synopsis
email
systems

Jump to

Keyboard shortcuts

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