Documentation ¶ Index ¶ type Service func New(db service.DatabaseProvider) *Service func (s *Service) CreateUser(ctx context.Context, name string, email string, encryptedPassword string) (dbx.User, error) func (s *Service) FetchUserByEmail(ctx context.Context, email string) (dbx.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 New ¶ func New(db service.DatabaseProvider) *Service func (*Service) CreateUser ¶ func (s *Service) CreateUser(ctx context.Context, name string, email string, encryptedPassword string) (dbx.User, error) func (*Service) FetchUserByEmail ¶ func (s *Service) FetchUserByEmail(ctx context.Context, email string) (dbx.User, error) Source Files ¶ View all Source files service.go Click to show internal directories. Click to hide internal directories.