ms-auth/internal/sessions/usecase.go

11 lines
278 B
Go
Raw Normal View History

2024-10-09 17:07:38 +00:00
package sessions
import "context"
type UseCase interface {
Create(ctx context.Context, userId int32) (*string, error)
Read(ctx context.Context, token string) (*int32, error)
Update(ctx context.Context, token string) error
Delete(ctx context.Context, token string) error
}