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