Documentation
¶
Index ¶
- type Service
- func (srv Service) GetUserById(userid bson.ObjectId) (*models.User, error)
- func (srv Service) GetUserPlanetsById(userid bson.ObjectId) ([]*models.Planet, error)
- func (srv Service) Login(email, password string) (*string, *models.User, error)
- func (srv Service) Register(name, password, email string) (*models.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (Service) GetUserById ¶
func (Service) GetUserPlanetsById ¶
Click to show internal directories.
Click to hide internal directories.