Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleStorage ¶
type GoogleStorage struct{}
func (*GoogleStorage) DownloadFile ¶
func (s *GoogleStorage) DownloadFile(bucket, fileName string) ([]byte, error)
func (*GoogleStorage) UploadFile ¶
func (s *GoogleStorage) UploadFile(file multipart.File, bucket, object string) error
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider() *Provider
func (*Provider) GormClient ¶
func (*Provider) Logger ¶
func (p *Provider) Logger() *zap.SugaredLogger
type SandGridEmail ¶
type SandGridEmail struct{}
func (*SandGridEmail) SendSignInCode ¶
func (s *SandGridEmail) SendSignInCode(email, code string) error
type TwilioClient ¶
type TwilioClient struct { }
func (*TwilioClient) SendSMSCode ¶
func (t *TwilioClient) SendSMSCode(phone, code string) error
Click to show internal directories.
Click to hide internal directories.