Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { common.DBService Create(u *v1User.User, options common.DBOptions) error GetByNameOrEmail(el string, options common.DBOptions) (*v1User.User, error) List(options common.DBOptions) ([]v1User.User, error) Delete(name string, options common.DBOptions) error Search(num, size int, conditions common.Conditions, options common.DBOptions) ([]v1User.User, int, error) Update(name string, u *v1User.User, options common.DBOptions) error UpdatePassword(name string, oldPassword string, newPassword string, options common.DBOptions) error ResetPassword(name string, newPassword string, options common.DBOptions) error }
func NewService ¶
func NewService() Service
Click to show internal directories.
Click to hide internal directories.