Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLabelIds ¶
Make a list of label IDs from their names
func MarkAsRead ¶
Types ¶
type ParsedMessage ¶
func ListUnreadMessages ¶
func ListUnreadMessages(labelIds []string) ([]ParsedMessage, error)
func (ParsedMessage) HasLabel ¶
func (m ParsedMessage) HasLabel(labelId string) bool
type TokenSource ¶
type TokenSource struct {
// contains filtered or unexported fields
}
func NewTokenSource ¶
func NewTokenSource(secretFile string, tokenFile string, scopes ...string) *TokenSource
Click to show internal directories.
Click to hide internal directories.