Documentation ¶
Index ¶
- Constants
- Variables
- type Payload
- func (*Payload) Descriptor() ([]byte, []int)deprecated
- func (x *Payload) GetAttachments() []*PayloadAttachment
- func (x *Payload) GetBcc() string
- func (x *Payload) GetCc() string
- func (x *Payload) GetFrom() string
- func (x *Payload) GetHeaders() []*PayloadHeader
- func (x *Payload) GetInlineCss() bool
- func (x *Payload) GetMetadata() map[string]string
- func (x *Payload) GetPostmarkApiToken() string
- func (x *Payload) GetReplyTo() string
- func (x *Payload) GetTag() string
- func (x *Payload) GetTemplateAlias() string
- func (x *Payload) GetTemplateId() int32
- func (x *Payload) GetTemplateModel() map[string]string
- func (x *Payload) GetTemplateObjectModel() *_struct.Struct
- func (x *Payload) GetTo() string
- func (x *Payload) GetTrackLinks() string
- func (x *Payload) GetTrackOpens() bool
- func (*Payload) ProtoMessage()
- func (x *Payload) ProtoReflect() protoreflect.Message
- func (x *Payload) Reset()
- func (x *Payload) String() string
- type PayloadAttachment
- func (*PayloadAttachment) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadAttachment) GetContent() string
- func (x *PayloadAttachment) GetContentType() string
- func (x *PayloadAttachment) GetName() string
- func (*PayloadAttachment) ProtoMessage()
- func (x *PayloadAttachment) ProtoReflect() protoreflect.Message
- func (x *PayloadAttachment) Reset()
- func (x *PayloadAttachment) String() string
- type PayloadHeader
- func (*PayloadHeader) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadHeader) GetName() string
- func (x *PayloadHeader) GetValue() string
- func (*PayloadHeader) ProtoMessage()
- func (x *PayloadHeader) ProtoReflect() protoreflect.Message
- func (x *PayloadHeader) Reset()
- func (x *PayloadHeader) String() string
Constants ¶
View Source
const (
PostmarkSenderTopicName = "postmark-sender"
)
Variables ¶
View Source
var File_postmark_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Payload ¶
type Payload struct { //@inject_tag: protobuf:"varint,1,opt,name=template_id,json=TemplateId,proto3" TemplateId int32 `protobuf:"varint,1,opt,name=template_id,json=TemplateId,proto3" json:"template_id,omitempty"` //@inject_tag: `protobuf:"bytes,2,opt,name=template_alias,json=TemplateAlias,proto3" TemplateAlias string `protobuf:"bytes,2,opt,name=template_alias,json=TemplateAlias,proto3" json:"template_alias,omitempty"` //@inject_tag: protobuf:"bytes,3,rep,name=template_model_old,json=templateModelOld,proto3" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" TemplateModel map[string]string `` /* 195-byte string literal not displayed */ //@inject_tag: protobuf:"varint,4,opt,name=inline_css,json=InlineCss,proto3" InlineCss bool `protobuf:"varint,4,opt,name=inline_css,json=InlineCss,proto3" json:"inline_css,omitempty"` //@inject_tag: protobuf:"bytes,5,opt,name=from,json=From,proto3" From string `protobuf:"bytes,5,opt,name=from,json=From,proto3" json:"from,omitempty"` //@inject_tag: protobuf:"bytes,6,opt,name=to,json=To,proto3" To string `protobuf:"bytes,6,opt,name=to,json=To,proto3" json:"to,omitempty"` //@inject_tag: protobuf:"bytes,7,opt,name=cc,json=Cc,proto3" Cc string `protobuf:"bytes,7,opt,name=cc,json=Cc,proto3" json:"cc,omitempty"` //@inject_tag: protobuf:"bytes,8,opt,name=bcc,json=Bcc,proto3" Bcc string `protobuf:"bytes,8,opt,name=bcc,json=Bcc,proto3" json:"bcc,omitempty"` //@inject_tag: protobuf:"bytes,9,opt,name=tag,json=Tag,proto3" Tag string `protobuf:"bytes,9,opt,name=tag,json=Tag,proto3" json:"tag,omitempty"` //@inject_tag: protobuf:"bytes,10,opt,name=reply_to,json=ReplyTo,proto3" ReplyTo string `protobuf:"bytes,10,opt,name=reply_to,json=ReplyTo,proto3" json:"reply_to,omitempty"` //@inject_tag: protobuf:"bytes,11,rep,name=headers,json=Headers,proto3" Headers []*PayloadHeader `protobuf:"bytes,11,rep,name=headers,json=Headers,proto3" json:"headers,omitempty"` //@inject_tag: protobuf:"varint,12,opt,name=track_opens,json=TrackOpens,proto3" TrackOpens bool `protobuf:"varint,12,opt,name=track_opens,json=TrackOpens,proto3" json:"track_opens,omitempty"` //@inject_tag: protobuf:"bytes,13,opt,name=track_links,json=TrackLinks,proto3" TrackLinks string `protobuf:"bytes,13,opt,name=track_links,json=TrackLinks,proto3" json:"track_links,omitempty"` //@inject_tag: protobuf:"bytes,14,rep,name=Attachments,json=Attachments,proto3" Attachments []*PayloadAttachment `protobuf:"bytes,14,rep,name=Attachments,json=Attachments,proto3" json:"attachments,omitempty"` //@inject_tag: protobuf:"bytes,15,rep,name=metadata,json=Metadata,proto3" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3" Metadata map[string]string `` /* 172-byte string literal not displayed */ //@inject_tag: protobuf:"bytes,16,rep,name=TemplateObjectModel,json=TemplateModel,proto3" TemplateObjectModel *_struct.Struct `protobuf:"bytes,16,rep,name=TemplateObjectModel,json=TemplateModel,proto3" json:"template_object_model,omitempty"` PostmarkApiToken string `protobuf:"bytes,17,opt,name=postmark_api_token,json=postmarkApiToken,proto3" json:"postmark_api_token,omitempty"` // contains filtered or unexported fields }
func (*Payload) Descriptor
deprecated
func (*Payload) GetAttachments ¶
func (x *Payload) GetAttachments() []*PayloadAttachment
func (*Payload) GetHeaders ¶
func (x *Payload) GetHeaders() []*PayloadHeader
func (*Payload) GetInlineCss ¶
func (*Payload) GetMetadata ¶
func (*Payload) GetPostmarkApiToken ¶
func (*Payload) GetReplyTo ¶
func (*Payload) GetTemplateAlias ¶
func (*Payload) GetTemplateId ¶
func (*Payload) GetTemplateModel ¶
func (*Payload) GetTemplateObjectModel ¶
func (*Payload) GetTrackLinks ¶
func (*Payload) GetTrackOpens ¶
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) ProtoReflect ¶
func (x *Payload) ProtoReflect() protoreflect.Message
type PayloadAttachment ¶
type PayloadAttachment struct { //@inject_tag: json:"Name" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"Name"` //@inject_tag: json:"Content" Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"Content"` //@inject_tag: json:"ContentType" ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"ContentType"` // contains filtered or unexported fields }
func (*PayloadAttachment) Descriptor
deprecated
func (*PayloadAttachment) Descriptor() ([]byte, []int)
Deprecated: Use PayloadAttachment.ProtoReflect.Descriptor instead.
func (*PayloadAttachment) GetContent ¶
func (x *PayloadAttachment) GetContent() string
func (*PayloadAttachment) GetContentType ¶
func (x *PayloadAttachment) GetContentType() string
func (*PayloadAttachment) GetName ¶
func (x *PayloadAttachment) GetName() string
func (*PayloadAttachment) ProtoMessage ¶
func (*PayloadAttachment) ProtoMessage()
func (*PayloadAttachment) ProtoReflect ¶
func (x *PayloadAttachment) ProtoReflect() protoreflect.Message
func (*PayloadAttachment) Reset ¶
func (x *PayloadAttachment) Reset()
func (*PayloadAttachment) String ¶
func (x *PayloadAttachment) String() string
type PayloadHeader ¶
type PayloadHeader struct { //@inject_tag: json:"Name" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"Name"` //@inject_tag: json:"Value" Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"Value"` // contains filtered or unexported fields }
func (*PayloadHeader) Descriptor
deprecated
func (*PayloadHeader) Descriptor() ([]byte, []int)
Deprecated: Use PayloadHeader.ProtoReflect.Descriptor instead.
func (*PayloadHeader) GetName ¶
func (x *PayloadHeader) GetName() string
func (*PayloadHeader) GetValue ¶
func (x *PayloadHeader) GetValue() string
func (*PayloadHeader) ProtoMessage ¶
func (*PayloadHeader) ProtoMessage()
func (*PayloadHeader) ProtoReflect ¶
func (x *PayloadHeader) ProtoReflect() protoreflect.Message
func (*PayloadHeader) Reset ¶
func (x *PayloadHeader) Reset()
func (*PayloadHeader) String ¶
func (x *PayloadHeader) String() string
Click to show internal directories.
Click to hide internal directories.