ms-auth/internal/sessions/usecase.go
Vyacheslav1557 93eaf89d78 refactor:
2024-10-09 22:07:38 +05:00

11 lines
278 B
Go

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
}