Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorEncoder ¶
func ErrorEncoder(_ context.Context, err error, w http.ResponseWriter)
ErrorEncoder encodes incoming errors to write the corresponding http status header.
Types ¶
type ErrAuthUrl ¶
type ErrAuthUrl struct{}
func (ErrAuthUrl) Error ¶
func (e ErrAuthUrl) Error() string
type ErrExpiredToken ¶
type ErrExpiredToken struct{}
func (ErrExpiredToken) Error ¶
func (e ErrExpiredToken) Error() string
type ErrInactiveToken ¶
type ErrInactiveToken struct{}
func (ErrInactiveToken) Error ¶
func (e ErrInactiveToken) Error() string
type ErrInvalidCookie ¶
type ErrInvalidCookie struct{}
func (ErrInvalidCookie) Error ¶
func (e ErrInvalidCookie) Error() string
type ErrInvalidData ¶
type ErrInvalidData struct {
Field string
}
func (ErrInvalidData) Error ¶
func (e ErrInvalidData) Error() string
type ErrInvalidSignature ¶
type ErrInvalidSignature struct{}
func (ErrInvalidSignature) Error ¶
func (e ErrInvalidSignature) Error() string
type ErrInvalidToken ¶
type ErrInvalidToken struct{}
func (ErrInvalidToken) Error ¶
func (e ErrInvalidToken) Error() string
type ErrMalformedToken ¶
type ErrMalformedToken struct{}
func (ErrMalformedToken) Error ¶
func (e ErrMalformedToken) Error() string
type Message ¶
type Message struct { ID string `json:"id"` HistoryID uint64 `json:"historyId"` InternalDate int64 `json:"internalDate"` LabelIDS []string `json:"labelIds"` Payload *gmail.MessagePart `json:"payload"` SizeEstimate int64 `json:"sizeEstimate"` Snippet string `json:"snippet"` ThreadID string `json:"threadId"` HTML string `json:"html"` }
Click to show internal directories.
Click to hide internal directories.