Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CardDavContactsProvider ¶
type CardDavContactsProvider struct { AuthClient auth.AuthenticationClient URL string }
CardDavContactsProvider represents a provider which return contacts via CardDav protocol
func (CardDavContactsProvider) GetContacts ¶
func (carddav CardDavContactsProvider) GetContacts() ([]contact.Contact, error)
GetContacts returns contacts via a CardDav HTTP API call
type ContactsProvider ¶
ContactsProvider calls a HTTP Contact API and returns a slice of Contacts regardless of protocol or authentication
type GoogleContactsProvider ¶
type GoogleContactsProvider struct { AuthClient auth.AuthenticationClient URL string }
GoogleContactsProvider represents a provider which return contacts via Google People API
func (GoogleContactsProvider) GetContacts ¶
func (gp GoogleContactsProvider) GetContacts() ([]contact.Contact, error)
GetContacts returns contacts via a Google People API call
Click to show internal directories.
Click to hide internal directories.