store

package
v0.0.0-...-7e685cb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(raw *gmail.Message)

Add interface for adding messages

Types

type Message

type Message struct {
	ID           string   `bson:"_id,omitempty" json:"id,omitempty"`
	HistoryID    uint64   `bson:"historyId,omitempty"`
	InternalDate int64    `bson:"internalDate,omitempty"`
	ThreadID     string   `bson:"threadId,omitempty"`
	Snippet      string   `bson:"snippet,omitempty"`
	LabelIDs     []string `bson:"labelIds,omitempty"`
	Raw          string   `bson:"raw,omitempty"`
	From         string   `bson:"from,omitempty"`
	To           string   `bson:"to,omitempty"`
	Subject      string   `bson:"subject,omitempty"`
	Date         string   `bson:"date,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL