Documentation ¶
Index ¶
- type GmailAttachment
- func (ga *GmailAttachment) GetAttachmentId() string
- func (ga *GmailAttachment) GetData() []byte
- func (ga *GmailAttachment) GetFilename() string
- func (ga *GmailAttachment) GetMessageId() string
- func (ga *GmailAttachment) GetMimeType() string
- func (ga *GmailAttachment) GetSize() int64
- func (ga *GmailAttachment) IsDownloaded() bool
- type GmailMessage
- func (gm *GmailMessage) GetAttachments() []*GmailAttachment
- func (gm *GmailMessage) GetBodyHtml() []byte
- func (gm *GmailMessage) GetBodyText() []byte
- func (gm *GmailMessage) GetMessageId() string
- func (gm *GmailMessage) GetRawMessage() *gmail.Message
- func (gm *GmailMessage) GetSubject() string
- func (gm *GmailMessage) HasAttachments() bool
- func (gm *GmailMessage) HasBodyHtml() bool
- func (gm *GmailMessage) HasBodyText() bool
- func (gm *GmailMessage) HasSubject() bool
- type GmailService
- func (gs *GmailService) Filename(fname string) *GmailService
- func (gs *GmailService) From(from string) *GmailService
- func (gs *GmailService) GetListOnly() *gmail.ListMessagesResponse
- func (gs *GmailService) GetMessages() []*GmailMessage
- func (gs *GmailService) GetMessagesRaw() []*gmail.Message
- func (gs *GmailService) HasAttachment(hasatt bool) *GmailService
- func (gs *GmailService) InAnywhere() *GmailService
- func (gs *GmailService) InInbox() *GmailService
- func (gs *GmailService) InSent() *GmailService
- func (gs *GmailService) InSpam() *GmailService
- func (gs *GmailService) InTrash() *GmailService
- func (gs *GmailService) InitSrv()
- func (gs *GmailService) LargerThan(larger string) *GmailService
- func (gs *GmailService) Match(match string) *GmailService
- func (gs *GmailService) MatchExact(matchex string) *GmailService
- func (gs *GmailService) MaxResults(maxres int64) *GmailService
- func (gs *GmailService) NewerThan(newer string) *GmailService
- func (gs *GmailService) NewerThanRel(newer string) *GmailService
- func (gs *GmailService) OlderThan(older string) *GmailService
- func (gs *GmailService) OlderThanRel(older string) *GmailService
- func (gs *GmailService) SmallerThan(smaller string) *GmailService
- func (gs *GmailService) Subject(subject string) *GmailService
- func (gs *GmailService) To(to string) *GmailService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GmailAttachment ¶
type GmailAttachment struct {
// contains filtered or unexported fields
}
func (*GmailAttachment) GetAttachmentId ¶
func (ga *GmailAttachment) GetAttachmentId() string
func (*GmailAttachment) GetData ¶
func (ga *GmailAttachment) GetData() []byte
func (*GmailAttachment) GetFilename ¶
func (ga *GmailAttachment) GetFilename() string
func (*GmailAttachment) GetMessageId ¶
func (ga *GmailAttachment) GetMessageId() string
func (*GmailAttachment) GetMimeType ¶
func (ga *GmailAttachment) GetMimeType() string
func (*GmailAttachment) GetSize ¶
func (ga *GmailAttachment) GetSize() int64
func (*GmailAttachment) IsDownloaded ¶
func (ga *GmailAttachment) IsDownloaded() bool
type GmailMessage ¶
type GmailMessage struct {
// contains filtered or unexported fields
}
func (*GmailMessage) GetAttachments ¶
func (gm *GmailMessage) GetAttachments() []*GmailAttachment
func (*GmailMessage) GetBodyHtml ¶
func (gm *GmailMessage) GetBodyHtml() []byte
func (*GmailMessage) GetBodyText ¶
func (gm *GmailMessage) GetBodyText() []byte
func (*GmailMessage) GetMessageId ¶
func (gm *GmailMessage) GetMessageId() string
func (*GmailMessage) GetRawMessage ¶
func (gm *GmailMessage) GetRawMessage() *gmail.Message
func (*GmailMessage) GetSubject ¶
func (gm *GmailMessage) GetSubject() string
func (*GmailMessage) HasAttachments ¶
func (gm *GmailMessage) HasAttachments() bool
func (*GmailMessage) HasBodyHtml ¶
func (gm *GmailMessage) HasBodyHtml() bool
func (*GmailMessage) HasBodyText ¶
func (gm *GmailMessage) HasBodyText() bool
func (*GmailMessage) HasSubject ¶
func (gm *GmailMessage) HasSubject() bool
type GmailService ¶
type GmailService struct {
// contains filtered or unexported fields
}
func (*GmailService) Filename ¶
func (gs *GmailService) Filename(fname string) *GmailService
func (*GmailService) From ¶
func (gs *GmailService) From(from string) *GmailService
func (*GmailService) GetListOnly ¶
func (gs *GmailService) GetListOnly() *gmail.ListMessagesResponse
func (*GmailService) GetMessages ¶
func (gs *GmailService) GetMessages() []*GmailMessage
func (*GmailService) GetMessagesRaw ¶
func (gs *GmailService) GetMessagesRaw() []*gmail.Message
func (*GmailService) HasAttachment ¶
func (gs *GmailService) HasAttachment(hasatt bool) *GmailService
func (*GmailService) InAnywhere ¶
func (gs *GmailService) InAnywhere() *GmailService
func (*GmailService) InInbox ¶
func (gs *GmailService) InInbox() *GmailService
func (*GmailService) InSent ¶
func (gs *GmailService) InSent() *GmailService
func (*GmailService) InSpam ¶
func (gs *GmailService) InSpam() *GmailService
func (*GmailService) InTrash ¶
func (gs *GmailService) InTrash() *GmailService
func (*GmailService) InitSrv ¶
func (gs *GmailService) InitSrv()
func (*GmailService) LargerThan ¶
func (gs *GmailService) LargerThan(larger string) *GmailService
func (*GmailService) Match ¶
func (gs *GmailService) Match(match string) *GmailService
func (*GmailService) MatchExact ¶
func (gs *GmailService) MatchExact(matchex string) *GmailService
func (*GmailService) MaxResults ¶
func (gs *GmailService) MaxResults(maxres int64) *GmailService
func (*GmailService) NewerThan ¶
func (gs *GmailService) NewerThan(newer string) *GmailService
func (*GmailService) NewerThanRel ¶
func (gs *GmailService) NewerThanRel(newer string) *GmailService
func (*GmailService) OlderThan ¶
func (gs *GmailService) OlderThan(older string) *GmailService
func (*GmailService) OlderThanRel ¶
func (gs *GmailService) OlderThanRel(older string) *GmailService
func (*GmailService) SmallerThan ¶
func (gs *GmailService) SmallerThan(smaller string) *GmailService
func (*GmailService) Subject ¶
func (gs *GmailService) Subject(subject string) *GmailService
func (*GmailService) To ¶
func (gs *GmailService) To(to string) *GmailService
Click to show internal directories.
Click to hide internal directories.