Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMessageService ¶
type IMessageService interface { SetText(string) error GetText() string SetOption(name string, value interface{}) FindOption(name string) (value interface{}, exists bool) ListOptionByName() []string }
func NewMessage ¶
func NewMessage() IMessageService
type IPhonenumberService ¶
func NewPhonenumber ¶
func NewPhonenumber() IPhonenumberService
type IProviderRepositoryService ¶
type IProviderRepositoryService interface { Add(IProviderService) Exists(name string) bool FindByName(name string) IProviderService ListByName() []string }
func GetProviderRepository ¶
func GetProviderRepository() IProviderRepositoryService
type IProviderService ¶
type IProviderService interface { Info() ProviderInfo Config(*viper.Viper) Send(IMessageService, ...IPhonenumberService) error }
type ISmsService ¶
func NewSmsService ¶
func NewSmsService(provider IProviderService) ISmsService
type PhonenumberList ¶
type PhonenumberList []IPhonenumberService
Click to show internal directories.
Click to hide internal directories.