Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserReader ¶
type UserReader struct {
// contains filtered or unexported fields
}
func NewUserReader ¶
func NewUserReader(db *gorm.DB) *UserReader
func (*UserReader) FindByEmail ¶
func (u *UserReader) FindByEmail(email string) (*models.User, error)
func (*UserReader) FindByEmailOrLogin ¶
func (u *UserReader) FindByEmailOrLogin(email, login string) (*models.User, error)
type UserWriter ¶
type UserWriter struct {
pb.UsersClient
}
func NewUserWriter ¶
func NewUserWriter(c *config.Config) *UserWriter
Click to show internal directories.
Click to hide internal directories.