session

package
v0.0.0-...-dab1d25 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionRepository

type SessionRepository interface {
	GetSessionById(ctx context.Context, sessionId string) (*model.SessionData, error)
	CreateSession(ctx context.Context, userId string) (string, error)
	DeleteById(ctx context.Context, sessionId string) error
}

type SessionUseCase

type SessionUseCase interface {
	GetSessionById(ctx context.Context, sessionId string) (*model.SessionData, error)
	CreateSession(ctx context.Context, userId string) (string, error)
	DeleteById(ctx context.Context, sessionId string) error
}

Directories

Path Synopsis
Package session_mock is a generated GoMock package.
Package session_mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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