Documentation ¶
Index ¶
- Variables
- type EmailTask
- func (*EmailTask) Descriptor() ([]byte, []int)deprecated
- func (x *EmailTask) GetBody() string
- func (x *EmailTask) GetBodyGzip() []byte
- func (x *EmailTask) GetRecipients() []string
- func (x *EmailTask) GetSubject() string
- func (*EmailTask) ProtoMessage()
- func (x *EmailTask) ProtoReflect() protoreflect.Message
- func (x *EmailTask) Reset()
- func (x *EmailTask) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_go_chromium_org_luci_luci_notify_internal_tq_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EmailTask ¶
type EmailTask struct { // Recipients is a list of email addresses to send the email to. // TODO(nodir): make it non-repeated. Recipients []string `protobuf:"bytes,1,rep,name=recipients,proto3" json:"recipients,omitempty"` // Subject is the subject line of the email to be sent. Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` // DEPRECATED. See body_gzip. Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` // Gzipped, HTML-formatted string containing the body of the email // to be sent. BodyGzip []byte `protobuf:"bytes,4,opt,name=body_gzip,json=bodyGzip,proto3" json:"body_gzip,omitempty"` // contains filtered or unexported fields }
EmailTask represents a single email notification to be dispatched.
func (*EmailTask) Descriptor
deprecated
func (*EmailTask) GetBodyGzip ¶
func (*EmailTask) GetRecipients ¶
func (*EmailTask) GetSubject ¶
func (*EmailTask) ProtoMessage ¶
func (*EmailTask) ProtoMessage()
func (*EmailTask) ProtoReflect ¶
func (x *EmailTask) ProtoReflect() protoreflect.Message
Directories ¶
Path | Synopsis |
---|---|
Package alerts manages alert values in the database.
|
Package alerts manages alert values in the database. |
Package span contains utility functions to interact with the underlying Spanner storage.
|
Package span contains utility functions to interact with the underlying Spanner storage. |
Package testutil holds helper functions for testing.
|
Package testutil holds helper functions for testing. |
Click to show internal directories.
Click to hide internal directories.