Documentation ¶
Overview ¶
Utility package to contain functions like sendMail, create Calendar appointment and get user availability
Index ¶
- func CreateEvent(c ews.Client, to, optional []string, subject, body, location string, ...) error
- func CreateHTMLEvent(c ews.Client, to, optional []string, subject, body, location string, ...) error
- func FindPeople(c ews.Client, q string) ([]ews.Persona, error)
- func GetPersona(c ews.Client, personaID string) (*ews.Persona, error)
- func GetUserPhoto(c ews.Client, email string) ([]byte, error)
- func GetUserPhotoBase64(c ews.Client, email string) (string, error)
- func GetUserPhotoURL(c ews.Client, email string) string
- func ListUsersEvents(c ews.Client, eventUsers []EventUser, from time.Time, duration time.Duration) (map[EventUser][]Event, error)
- func SendEmail(c ews.Client, to []string, subject, body string) error
- type Event
- type EventUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEvent ¶
func CreateEvent( c ews.Client, to, optional []string, subject, body, location string, from time.Time, duration time.Duration, ) error
CreateEvent helper method to send Message
func CreateHTMLEvent ¶
func FindPeople ¶
FindPeople find persona slice by query string
func GetPersona ¶
FindPeople find persona slice by query string
func GetUserPhotoBase64 ¶
GetUserPhoto https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/getuserphoto-operation
func ListUsersEvents ¶
Types ¶
type EventUser ¶
type EventUser struct { Email string AttendeeType ews.AttendeeType }
Click to show internal directories.
Click to hide internal directories.