luci: go.chromium.org/luci/luci_notify/internal Index | Files

package internal

import "go.chromium.org/luci/luci_notify/internal"

Index

Package Files

gen.go tq.pb.go

type EmailTask Uses

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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

EmailTask represents a single email notification to be dispatched.

func (*EmailTask) Descriptor Uses

func (*EmailTask) Descriptor() ([]byte, []int)

func (*EmailTask) GetBody Uses

func (m *EmailTask) GetBody() string

func (*EmailTask) GetBodyGzip Uses

func (m *EmailTask) GetBodyGzip() []byte

func (*EmailTask) GetRecipients Uses

func (m *EmailTask) GetRecipients() []string

func (*EmailTask) GetSubject Uses

func (m *EmailTask) GetSubject() string

func (*EmailTask) ProtoMessage Uses

func (*EmailTask) ProtoMessage()

func (*EmailTask) Reset Uses

func (m *EmailTask) Reset()

func (*EmailTask) String Uses

func (m *EmailTask) String() string

func (*EmailTask) XXX_DiscardUnknown Uses

func (m *EmailTask) XXX_DiscardUnknown()

func (*EmailTask) XXX_Marshal Uses

func (m *EmailTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EmailTask) XXX_Merge Uses

func (m *EmailTask) XXX_Merge(src proto.Message)

func (*EmailTask) XXX_Size Uses

func (m *EmailTask) XXX_Size() int

func (*EmailTask) XXX_Unmarshal Uses

func (m *EmailTask) XXX_Unmarshal(b []byte) error

Package internal imports 3 packages (graph) and is imported by 1 packages. Updated 2019-06-18. Refresh now. Tools for package owners.