Documentation ¶
Index ¶
- Constants
- type Accepted
- type Attachment
- type Campaign
- type Clicked
- type ClientInfo
- type Complained
- type Delivered
- type DeliveryStatus
- type Envelope
- type EventName
- type Failed
- type Flags
- type Generic
- func (g *Generic) GetID() string
- func (g *Generic) GetTimestamp() time.Time
- func (v Generic) MarshalEasyJSON(w *jwriter.Writer)
- func (v Generic) MarshalJSON() ([]byte, error)
- func (g *Generic) SetID(id string)
- func (g *Generic) SetTimestamp(t time.Time)
- func (v *Generic) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Generic) UnmarshalJSON(data []byte) error
- type GeoLocation
- type ListMemberUploadError
- type ListMemberUploaded
- type ListUploaded
- type MailingList
- type MailingListError
- type MailingListMember
- type Message
- type MessageHeaders
- type Opened
- type Paging
- type RawJSON
- type Rejected
- type Response
- type Storage
- type Stored
- type Unsubscribed
Constants ¶
const ( EventAccepted = "accepted" EventRejected = "rejected" EventDelivered = "delivered" EventFailed = "failed" EventOpened = "opened" EventClicked = "clicked" EventUnsubscribed = "unsubscribed" EventComplained = "complained" EventStored = "stored" EventDropped = "dropped" EventListMemberUploaded = "list_member_uploaded" EventListMemberUploadError = "list_member_upload_error" EventListUploaded = "list_uploaded" )
const ( TransportHTTP = "http" TransportSMTP = "smtp" DeviceUnknown = "unknown" DeviceMobileBrowser = "desktop" DeviceBrowser = "mobile" DeviceEmail = "tablet" DeviceOther = "other" ClientUnknown = "unknown" ClientMobileBrowser = "mobile browser" ClientBrowser = "browser" ClientEmail = "email client" ClientLibrary = "library" ClientRobot = "robot" ClientOther = "other" ReasonUnknown = "unknown" ReasonGeneric = "generic" ReasonBounce = "bounce" ReasonESPBlock = "espblock" ReasonGreylisted = "greylisted" ReasonBlacklisted = "blacklisted" ReasonSuppressBounce = "suppress-bounce" ReasonSuppressComplaint = "suppress-complaint" ReasonSuppressUnsubscribe = "suppress-unsubscribe" ReasonOld = "old" ReasonHardFail = "hardfail" SeverityUnknown = "unknown" SeverityTemporary = "temporary" SeverityPermanent = "permanent" SeverityInternal = "internal" MethodUnknown = "unknown" MethodSMTP = "smtp" MethodHTTP = "http" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accepted ¶
type Accepted struct { Generic Envelope Envelope `json:"envelope"` Message Message `json:"message"` Flags Flags `json:"flags"` Recipient string `json:"recipient"` RecipientDomain string `json:"recipient-domain"` Method string `json:"method"` OriginatingIP string `json:"originating-ip"` Tags []string `json:"tags"` Campaigns []Campaign `json:"campaigns"` UserVariables interface{} `json:"user-variables"` Storage Storage `json:"storage"` }
func (Accepted) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Accepted) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Accepted) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Accepted) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Attachment ¶
type Attachment struct { FileName string `json:"filename"` ContentType string `json:"content-type"` Size int `json:"size"` }
func (Attachment) MarshalEasyJSON ¶
func (v Attachment) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Attachment) MarshalJSON ¶
func (v Attachment) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Attachment) UnmarshalEasyJSON ¶
func (v *Attachment) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Attachment) UnmarshalJSON ¶
func (v *Attachment) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Campaign ¶
func (Campaign) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Campaign) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Campaign) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Campaign) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Clicked ¶
type Clicked struct { Generic Url string `json:"url"` Message Message `json:"message"` Campaigns []Campaign `json:"campaigns"` MailingList MailingList `json:"mailing-list"` Recipient string `json:"recipient"` RecipientDomain string `json:"recipient-domain"` Tags []string `json:"tags"` IP string `json:"ip"` ClientInfo ClientInfo `json:"client-info"` GeoLocation GeoLocation `json:"geolocation"` UserVariables interface{} `json:"user-variables"` }
func (Clicked) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Clicked) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Clicked) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Clicked) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type ClientInfo ¶
type ClientInfo struct { AcceptLanguage string `json:"accept-language"` ClientName string `json:"client-name"` ClientOS string `json:"client-os"` ClientType string `json:"client-type"` DeviceType string `json:"device-type"` IP string `json:"ip"` UserAgent string `json:"user-agent"` }
func (ClientInfo) MarshalEasyJSON ¶
func (v ClientInfo) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ClientInfo) MarshalJSON ¶
func (v ClientInfo) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ClientInfo) UnmarshalEasyJSON ¶
func (v *ClientInfo) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ClientInfo) UnmarshalJSON ¶
func (v *ClientInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Complained ¶
type Complained struct { Generic Message Message `json:"message"` Campaigns []Campaign `json:"campaigns"` Recipient string `json:"recipient"` Tags []string `json:"tags"` UserVariables interface{} `json:"user-variables"` }
func (Complained) MarshalEasyJSON ¶
func (v Complained) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Complained) MarshalJSON ¶
func (v Complained) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Complained) UnmarshalEasyJSON ¶
func (v *Complained) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Complained) UnmarshalJSON ¶
func (v *Complained) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Delivered ¶
type Delivered struct { Generic Envelope Envelope `json:"envelope"` Message Message `json:"message"` Flags Flags `json:"flags"` Recipient string `json:"recipient"` RecipientDomain string `json:"recipient-domain"` Method string `json:"method"` Tags []string `json:"tags"` Campaigns []Campaign `json:"campaigns"` Storage Storage `json:"storage"` DeliveryStatus DeliveryStatus `json:"delivery-status"` UserVariables interface{} `json:"user-variables"` }
func (Delivered) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Delivered) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Delivered) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Delivered) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type DeliveryStatus ¶
type DeliveryStatus struct { Code int `json:"code"` AttemptNo int `json:"attempt-no"` Description string `json:"description"` Message string `json:"message"` SessionSeconds float64 `json:"session-seconds"` }
func (DeliveryStatus) MarshalEasyJSON ¶
func (v DeliveryStatus) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DeliveryStatus) MarshalJSON ¶
func (v DeliveryStatus) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DeliveryStatus) UnmarshalEasyJSON ¶
func (v *DeliveryStatus) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DeliveryStatus) UnmarshalJSON ¶
func (v *DeliveryStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Envelope ¶
type Envelope struct { MailFrom string `json:"mail-from"` Sender string `json:"sender"` Transport string `json:"transport"` Targets string `json:"targets"` SendingHost string `json:"sending-host"` SendingIP string `json:"sending-ip"` }
func (Envelope) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Envelope) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Envelope) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Envelope) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type EventName ¶
type EventName struct {
Name string `json:"event"`
}
An EventName is a struct with the event name.
func (EventName) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (EventName) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*EventName) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*EventName) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Failed ¶
type Failed struct { Generic Envelope Envelope `json:"envelope"` Message Message `json:"message"` Flags Flags `json:"flags"` Recipient string `json:"recipient"` RecipientDomain string `json:"recipient-domain"` Method string `json:"method"` Tags []string `json:"tags"` Campaigns []Campaign `json:"campaigns"` Storage Storage `json:"storage"` DeliveryStatus DeliveryStatus `json:"delivery-status"` Severity string `json:"severity"` Reason string `json:"reason"` UserVariables interface{} `json:"user-variables"` }
func (Failed) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Failed) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Failed) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Failed) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Flags ¶
type Flags struct { IsAuthenticated bool `json:"is-authenticated"` IsBig bool `json:"is-big"` IsSystemTest bool `json:"is-system-test"` IsTestMode bool `json:"is-test-mode"` IsDelayedBounce bool `json:"is-delayed-bounce"` }
func (Flags) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Flags) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Flags) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Flags) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Generic ¶
func (*Generic) GetTimestamp ¶
func (Generic) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Generic) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Generic) SetTimestamp ¶
func (*Generic) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Generic) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type GeoLocation ¶
type GeoLocation struct { City string `json:"city"` Country string `json:"country"` Region string `json:"region"` }
func (GeoLocation) MarshalEasyJSON ¶
func (v GeoLocation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (GeoLocation) MarshalJSON ¶
func (v GeoLocation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*GeoLocation) UnmarshalEasyJSON ¶
func (v *GeoLocation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*GeoLocation) UnmarshalJSON ¶
func (v *GeoLocation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type ListMemberUploadError ¶
type ListMemberUploadError struct { Generic MailingList MailingList `json:"mailing-list"` TaskID string `json:"task-id"` Format string `json:"format"` MemberDescription string `json:"member-description"` Error MailingListError `json:"error"` }
func (ListMemberUploadError) MarshalEasyJSON ¶
func (v ListMemberUploadError) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ListMemberUploadError) MarshalJSON ¶
func (v ListMemberUploadError) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ListMemberUploadError) UnmarshalEasyJSON ¶
func (v *ListMemberUploadError) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ListMemberUploadError) UnmarshalJSON ¶
func (v *ListMemberUploadError) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type ListMemberUploaded ¶
type ListMemberUploaded struct { Generic MailingList MailingList `json:"mailing-list"` Member MailingListMember `json:"member"` TaskID string `json:"task-id"` }
func (ListMemberUploaded) MarshalEasyJSON ¶
func (v ListMemberUploaded) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ListMemberUploaded) MarshalJSON ¶
func (v ListMemberUploaded) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ListMemberUploaded) UnmarshalEasyJSON ¶
func (v *ListMemberUploaded) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ListMemberUploaded) UnmarshalJSON ¶
func (v *ListMemberUploaded) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type ListUploaded ¶
type ListUploaded struct { Generic MailingList MailingList `json:"mailing-list"` IsUpsert bool `json:"is-upsert"` Format string `json:"format"` UpsertedCount int `json:"upserted-count"` FailedCount int `json:"failed-count"` Member MailingListMember `json:"member"` Subscribed bool `json:"subscribed"` TaskID string `json:"task-id"` }
func (ListUploaded) MarshalEasyJSON ¶
func (v ListUploaded) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ListUploaded) MarshalJSON ¶
func (v ListUploaded) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ListUploaded) UnmarshalEasyJSON ¶
func (v *ListUploaded) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ListUploaded) UnmarshalJSON ¶
func (v *ListUploaded) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type MailingList ¶
type MailingList struct { Address string `json:"address"` ListID string `json:"list-id"` SID string `json:"sid"` }
func (MailingList) MarshalEasyJSON ¶
func (v MailingList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (MailingList) MarshalJSON ¶
func (v MailingList) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*MailingList) UnmarshalEasyJSON ¶
func (v *MailingList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*MailingList) UnmarshalJSON ¶
func (v *MailingList) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type MailingListError ¶
type MailingListError struct {
Message string
}
func (MailingListError) MarshalEasyJSON ¶
func (v MailingListError) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (MailingListError) MarshalJSON ¶
func (v MailingListError) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*MailingListError) UnmarshalEasyJSON ¶
func (v *MailingListError) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*MailingListError) UnmarshalJSON ¶
func (v *MailingListError) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type MailingListMember ¶
func (MailingListMember) MarshalEasyJSON ¶
func (v MailingListMember) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (MailingListMember) MarshalJSON ¶
func (v MailingListMember) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*MailingListMember) UnmarshalEasyJSON ¶
func (v *MailingListMember) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*MailingListMember) UnmarshalJSON ¶
func (v *MailingListMember) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Message ¶
type Message struct { Headers MessageHeaders `json:"headers"` Attachments []Attachment `json:"attachments"` Recipients []string `json:"recipients"` Size int `json:"size"` }
func (Message) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Message) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Message) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Message) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type MessageHeaders ¶
type MessageHeaders struct { To string `json:"to"` MessageID string `json:"message-id"` From string `json:"from"` Subject string `json:"subject"` }
func (MessageHeaders) MarshalEasyJSON ¶
func (v MessageHeaders) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (MessageHeaders) MarshalJSON ¶
func (v MessageHeaders) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*MessageHeaders) UnmarshalEasyJSON ¶
func (v *MessageHeaders) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*MessageHeaders) UnmarshalJSON ¶
func (v *MessageHeaders) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Opened ¶
type Opened struct { Generic Message Message `json:"message"` Campaigns []Campaign `json:"campaigns"` MailingList MailingList `json:"mailing-list"` Recipient string `json:"recipient"` RecipientDomain string `json:"recipient-domain"` Tags []string `json:"tags"` IP string `json:"ip"` ClientInfo ClientInfo `json:"client-info"` GeoLocation GeoLocation `json:"geolocation"` UserVariables interface{} `json:"user-variables"` }
func (Opened) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Opened) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Opened) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Opened) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Paging ¶
type Paging struct { First string `json:"first,omitempty"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Last string `json:"last,omitempty"` }
func (Paging) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Paging) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Paging) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Paging) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Rejected ¶
type Rejected struct { Generic Reject struct { Reason string `json:"reason"` Description string `json:"description"` } `json:"reject"` Message Message `json:"message"` Storage Storage `json:"storage"` Flags Flags `json:"flags"` Tags []string `json:"tags"` Campaigns []Campaign `json:"campaigns"` UserVariables interface{} `json:"user-variables"` }
func (Rejected) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Rejected) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Rejected) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Rejected) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Response ¶
func (Response) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Response) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Response) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Response) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Storage ¶
func (Storage) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Storage) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Storage) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Storage) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Stored ¶
type Stored struct { Generic Message Message `json:"message"` Storage Storage `json:"storage"` Flags Flags `json:"flags"` Tags []string `json:"tags"` Campaigns []Campaign `json:"campaigns"` UserVariables interface{} `json:"user-variables"` }
func (Stored) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Stored) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Stored) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Stored) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Unsubscribed ¶
type Unsubscribed struct { Generic Message Message `json:"message"` Campaigns []Campaign `json:"campaigns"` MailingList MailingList `json:"mailing-list"` Recipient string `json:"recipient"` RecipientDomain string `json:"recipient-domain"` Tags []string `json:"tags"` IP string `json:"ip"` ClientInfo ClientInfo `json:"client-info"` GeoLocation GeoLocation `json:"geolocation"` UserVariables interface{} `json:"user-variables"` }
func (Unsubscribed) MarshalEasyJSON ¶
func (v Unsubscribed) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Unsubscribed) MarshalJSON ¶
func (v Unsubscribed) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Unsubscribed) UnmarshalEasyJSON ¶
func (v *Unsubscribed) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Unsubscribed) UnmarshalJSON ¶
func (v *Unsubscribed) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface