Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MailingList ¶
type MailingList struct { Id string Name string Conn Connection }
func New ¶
func New(name string) *MailingList
New - return a MailingList struct containing the name and connection information
func (MailingList) DeleteContact ¶
func (mList MailingList) DeleteContact(contactId string) bool
DeleteContact - use the 'id' field of a Contact to issue and API call to remove it from the preset mailing list
func (MailingList) GetAllContacts ¶
func (mList MailingList) GetAllContacts(nextPage string, allContacts *[]Contact)
GetAllContacts - return an array of Contact for the preset mailing list name This is a recursive function as results have to be paginated in order to get all of the contacts allContacts will contain the results
Click to show internal directories.
Click to hide internal directories.