13 lines
295 B
Go
13 lines
295 B
Go
package port
|
|
|
|
import (
|
|
"context"
|
|
"github.com/paramah/gw_telegram/internal/domain/entity"
|
|
)
|
|
|
|
type SessionStore interface {
|
|
Get(ctx context.Context, userID int64) (entity.Session, error)
|
|
Set(ctx context.Context, session entity.Session) error
|
|
Delete(ctx context.Context, userID int64) error
|
|
}
|