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