Documentation
¶
Index ¶
- type AuthService
- func (s *AuthService) CreateUserWithEmailAndPassword(email, password, name string) (*fbAuth.UserRecord, error)
- func (s *AuthService) GetUserByEmail(email string) (*fbAuth.UserRecord, error)
- func (s *AuthService) SignIn(email, password string) (string, error)
- func (s *AuthService) SignUp(email, password string) (*fbAuth.UserRecord, error)
- type StorageService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct {
// contains filtered or unexported fields
}
func NewAuthService ¶
func NewAuthService(app *firebase.App) (*AuthService, error)
func (*AuthService) CreateUserWithEmailAndPassword ¶
func (s *AuthService) CreateUserWithEmailAndPassword(email, password, name string) (*fbAuth.UserRecord, error)
func (*AuthService) GetUserByEmail ¶
func (s *AuthService) GetUserByEmail(email string) (*fbAuth.UserRecord, error)
func (*AuthService) SignUp ¶
func (s *AuthService) SignUp(email, password string) (*fbAuth.UserRecord, error)
type StorageService ¶
type StorageService struct { BucketName string // contains filtered or unexported fields }
func NewStorageService ¶
func NewStorageService(app *firebase.App, bucketName string) (*StorageService, error)
func (*StorageService) DownloadFile ¶
func (*StorageService) UploadFile ¶
Click to show internal directories.
Click to hide internal directories.