Documentation ¶
Index ¶
Constants ¶
View Source
const ( PostMethodSupported = "only post method is allowed" TokenError = "token error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AppName string //Redis RedisURL string RedisPassword string //JWT JWTSecret string JWTExpireIn time.Duration //SMTP SMTPIdentity string SMTPUsername string SMTPPassword string SMTPHost string SMTPAddress string //DB DBHost string DBPort string DBUser string DBPassword string DBName string //Firebase FirebaseAPIKey string AndroidPackageName string DomainURIPrefix string ConfirmationEndpoint string ResetPasswordEndpoint string //UserService ConfirmationEmailTemplate string DebugMode bool LogFormat string }
Config holds our config structure
type MessageService ¶
type MessageService struct {
AppName string
}
func NewMessageService ¶
func NewMessageService(cfg *Config) *MessageService
func (*MessageService) CredentialsError ¶
func (m *MessageService) CredentialsError() error
Click to show internal directories.
Click to hide internal directories.