emailsms_pkg

package
v0.0.0-...-e5dbb2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EMAILSMS

type EMAILSMS interface {
	AddEmail(string, string, string, *string) (interface{}, error)

	DeleteEmail(string, string) (interface{}, error)
}

* Interface for the EMAILSMS_IMPL

type EMAILSMS_IMPL

type EMAILSMS_IMPL struct {
	// contains filtered or unexported fields
}

* Client structure as interface implementation

func NewEMAILSMS

func NewEMAILSMS(config configuration_pkg.CONFIGURATION) *EMAILSMS_IMPL

* Factory for the EMAILSMS interaface returning EMAILSMS_IMPL

func (*EMAILSMS_IMPL) AddEmail

func (me *EMAILSMS_IMPL) AddEmail(
	email string,
	number string,
	format string,
	maxSms *string) (interface{}, error)

*

  • Authorise an email address for sending Email to SMS
  • @param string email parameter: Required
  • @param string number parameter: Required
  • @param string format parameter: Required
  • @param *string maxSms parameter: Optional
  • @return Returns the interface{} response from the API call

func (*EMAILSMS_IMPL) DeleteEmail

func (me *EMAILSMS_IMPL) DeleteEmail(
	email string,
	format string) (interface{}, error)

*

  • Remove an email address from the Email to SMS authorised list.
  • @param string email parameter: Required
  • @param string format parameter: Required
  • @return Returns the interface{} response from the API call

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL