Documentation ¶
Overview ¶
mongo.go
Index ¶
- type Store
- func (s *Store) All() ([]user.User, error)
- func (s *Store) ChangePassword(id, password string) error
- func (s *Store) CreateUser(u *user.User) error
- func (s *Store) DeleteUser(id string) error
- func (s *Store) GetUser(id string) (*user.User, error)
- func (s *Store) GetUserByUsername(username string) (*user.User, error)
- func (s *Store) UpdateUser(id, email, name string) (*user.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) ChangePassword ¶
func (*Store) DeleteUser ¶
func (*Store) GetUserByUsername ¶
Click to show internal directories.
Click to hide internal directories.