Documentation ¶
Index ¶
- type UserAccess
- func (ac *UserAccess) CreateAUser(userId string, input *usermodels.CreateUserInfoInput) error
- func (ac *UserAccess) DeleteAUser(userId string) error
- func (ac *UserAccess) GetAUser(userId string) (*usermodels.UserInfo, error)
- func (ac *UserAccess) UpdateAUser(userId string, input *usermodels.UpdateUserInfoInput) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserAccess ¶
type UserAccess struct {
Collection *mongo.Collection
}
func (*UserAccess) CreateAUser ¶
func (ac *UserAccess) CreateAUser(userId string, input *usermodels.CreateUserInfoInput) error
func (*UserAccess) DeleteAUser ¶
func (ac *UserAccess) DeleteAUser(userId string) error
func (*UserAccess) GetAUser ¶
func (ac *UserAccess) GetAUser(userId string) (*usermodels.UserInfo, error)
func (*UserAccess) UpdateAUser ¶
func (ac *UserAccess) UpdateAUser(userId string, input *usermodels.UpdateUserInfoInput) error
Click to show internal directories.
Click to hide internal directories.