Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PgClientRepository ¶
type PgClientRepository struct { User UserRepository // contains filtered or unexported fields }
func New ¶
func New(db *pg_connector.Connector, log *slog.Logger) *PgClientRepository
type UserRepository ¶
type UserRepository interface { GetUserByID(ctx context.Context, userID int64) (model.User, error) CreateUser(ctx context.Context, user model.User) error CheckUserExists(ctx context.Context, login string) (exists bool, err error) GetUserByLogin(ctx context.Context, login string) (user model.User, err error) UpdateUserDetails(ctx context.Context, userInfo model.UpdateUserModel) error }
Click to show internal directories.
Click to hide internal directories.