Token and session implementation with Redis
This commit is contained in:
@@ -13,6 +13,7 @@ import (
|
||||
type TableRepositoryInterface interface {
|
||||
Create(ctx context.Context, table *entities.Table) error
|
||||
GetByID(ctx context.Context, id uuid.UUID) (*entities.Table, error)
|
||||
GetByToken(ctx context.Context, token string) (*entities.Table, error)
|
||||
GetByOutletID(ctx context.Context, outletID uuid.UUID) ([]entities.Table, error)
|
||||
GetByOrganizationID(ctx context.Context, organizationID uuid.UUID) ([]entities.Table, error)
|
||||
Update(ctx context.Context, table *entities.Table) error
|
||||
|
||||
Reference in New Issue
Block a user