Documentation ¶
Index ¶
- func NewUserRepository(db *pgx.Conn) port.UserRepository
- type UserRepository
- func (r *UserRepository) CreateUser(input port.CreateUserInputRepository) (port.CreateUserOutputRepository, error)
- func (r *UserRepository) DeleteUser(input port.DeleteUserInputRepository) (port.DeleteUserOutputRepository, error)
- func (r *UserRepository) DisableUserLogin(input port.DisableUserLoginInputRepository) (port.DisableUserLoginOutputRepository, error)
- func (r *UserRepository) EnableUserLogin(input port.EnableUserLoginInputRepository) (port.EnableUserLoginOutputRepository, error)
- func (r *UserRepository) FindUserIDByPublicID(input port.FindUserIDByPublicIDInputRepository) (port.FindUserIDByPublicIDOutputRepository, error)
- func (r *UserRepository) GetUser(input port.GetUserInputRepository) (port.GetUserOutputRepository, error)
- func (r *UserRepository) GetUsers(input port.GetUsersInputRepository) (port.GetUsersOutputRepository, error)
- func (r *UserRepository) UpdateUser(input port.UpdateUserInputRepository) (port.UpdateUserOutputRepository, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserRepository ¶
func NewUserRepository(db *pgx.Conn) port.UserRepository
Types ¶
type UserRepository ¶
type UserRepository struct {
// contains filtered or unexported fields
}
func (*UserRepository) CreateUser ¶
func (r *UserRepository) CreateUser(input port.CreateUserInputRepository) (port.CreateUserOutputRepository, error)
func (*UserRepository) DeleteUser ¶
func (r *UserRepository) DeleteUser(input port.DeleteUserInputRepository) (port.DeleteUserOutputRepository, error)
func (*UserRepository) DisableUserLogin ¶
func (r *UserRepository) DisableUserLogin(input port.DisableUserLoginInputRepository) (port.DisableUserLoginOutputRepository, error)
func (*UserRepository) EnableUserLogin ¶
func (r *UserRepository) EnableUserLogin(input port.EnableUserLoginInputRepository) (port.EnableUserLoginOutputRepository, error)
func (*UserRepository) FindUserIDByPublicID ¶
func (r *UserRepository) FindUserIDByPublicID(input port.FindUserIDByPublicIDInputRepository) (port.FindUserIDByPublicIDOutputRepository, error)
func (*UserRepository) GetUser ¶
func (r *UserRepository) GetUser(input port.GetUserInputRepository) (port.GetUserOutputRepository, error)
func (*UserRepository) GetUsers ¶
func (r *UserRepository) GetUsers(input port.GetUsersInputRepository) (port.GetUsersOutputRepository, error)
func (*UserRepository) UpdateUser ¶
func (r *UserRepository) UpdateUser(input port.UpdateUserInputRepository) (port.UpdateUserOutputRepository, error)
Click to show internal directories.
Click to hide internal directories.