Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionRepository ¶
type SessionRepository interface { Create(ctx context.Context, session *domain.Session) error Fetch(ctx context.Context) ([]domain.Session, error) GetByID(ctx context.Context, id string) (domain.Session, error) }
func NewSessionRepository ¶
type UserRepository ¶
type UserRepository interface { Create(ctx context.Context, user *domain.User) error Fetch(ctx context.Context) ([]domain.User, error) GetByEmail(ctx context.Context, email string) (domain.User, error) GetByID(ctx context.Context, id string) (domain.User, error) }
func NewUserRepository ¶
Click to show internal directories.
Click to hide internal directories.