Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenUser ¶
func OpenUser(session *mongodb.MongoDB, name string, hashing hashing.Hashing) (repository.Repository, error)
Types ¶
type User ¶
type User struct { *mongo.Collection hashing.Hashing }
func (*User) Search ¶
func (mongoDB *User) Search(criteria *repository.SearchCriteria) (*user.User, error)
Click to show internal directories.
Click to hide internal directories.