Documentation
¶
Overview ¶
Package gsmgmailpostmaster implements the Gmail Postmaster APIs
Index ¶
- func GetDomain(name, fields string) (*gmailpostmastertools.Domain, error)
- func GetTrafficStats(name, fields string) (*gmailpostmastertools.TrafficStats, error)
- func ListDomains(fields string, cap int) (<-chan *gmailpostmastertools.Domain, <-chan error)
- func ListTrafficStats(parent, fields string, ...) (<-chan *gmailpostmastertools.TrafficStats, <-chan error)
- func SetClient(c *http.Client)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDomain ¶
GetDomain Gets a specific domain registered by the client. Returns NOT_FOUND if the domain does not exist.
func GetTrafficStats ¶
GetTrafficStats Get traffic statistics for a domain on a specific date. Returns PERMISSION_DENIED if user does not have permission to access TrafficStats for the domain.
func ListDomains ¶
ListDomains lists the domains that have been registered by the client. The order of domains in the response is unspecified and non-deterministic. Newly created domains will not necessarily be added to the end of this list.
func ListTrafficStats ¶
func ListTrafficStats(parent, fields string, startDateDay, startDateMonth, startDateYear, endDateDay, endDateMonth, endDateYear int64, cap int) (<-chan *gmailpostmastertools.TrafficStats, <-chan error)
ListTrafficStats List traffic statistics for all available days. Returns PERMISSION_DENIED if user does not have permission to access TrafficStats for the domain.
Types ¶
This section is empty.