Documentation
¶
Index ¶
- type UserAPI
- func (u *UserAPI) Delete(IDs []string) (int64, error)
- func (u *UserAPI) Get(filters []storageTY.Filter) (userTY.User, error)
- func (u *UserAPI) GetByEmail(email string) (userTY.User, error)
- func (u *UserAPI) GetByID(ID string) (userTY.User, error)
- func (u *UserAPI) GetByUsername(username string) (userTY.User, error)
- func (u *UserAPI) GetEntityInterface() interface{}
- func (u *UserAPI) Import(data interface{}) error
- func (u *UserAPI) List(filters []storageTY.Filter, pagination *storageTY.Pagination) (*storageTY.Result, error)
- func (u *UserAPI) Save(user *userTY.User) error
- func (u *UserAPI) UpdateProfile(userData *userTY.UserProfileUpdate) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserAPI ¶
type UserAPI struct {
// contains filtered or unexported fields
}
func (*UserAPI) GetByEmail ¶
GetByEmail returns a item
func (*UserAPI) GetByUsername ¶
GetByUsername returns a item
func (*UserAPI) GetEntityInterface ¶
func (u *UserAPI) GetEntityInterface() interface{}
func (*UserAPI) List ¶
func (u *UserAPI) List(filters []storageTY.Filter, pagination *storageTY.Pagination) (*storageTY.Result, error)
List by filter and pagination
func (*UserAPI) UpdateProfile ¶
func (u *UserAPI) UpdateProfile(userData *userTY.UserProfileUpdate) error
UpdateProfile updates the user profile
Click to show internal directories.
Click to hide internal directories.