Documentation ¶
Index ¶
- type User
- func (u User) FetchByEmail(db sqlx.DB, email string) (*authapi.User, error)
- func (u User) FetchByExternalID(db sqlx.DB, externalID string) (*authapi.User, error)
- func (u User) FetchUserByID(db sqlx.DB, id int) (*authapi.User, error)
- func (u User) FetchUserByUUID(db sqlx.DB, userUUID uuid.UUID, orgID int) (*authapi.User, error)
- func (u User) List(db sqlx.DB, orgID int) ([]authapi.User, error)
- func (u User) ListRoles(db sqlx.DB) ([]authapi.Role, error)
- func (u User) Update(db sqlx.DB, userToUpdate authapi.User) error
- func (u User) UpdateRole(db sqlx.DB, level int, profileID int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct{}
func (User) FetchByEmail ¶
func (User) FetchByExternalID ¶
func (User) FetchUserByUUID ¶
Click to show internal directories.
Click to hide internal directories.