email

package
v0.0.0-...-2486f02 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_email_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EmailReq

type EmailReq struct {
	From        string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To          string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	Subject     string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
	Content     string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*EmailReq) Descriptor deprecated

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

Deprecated: Use EmailReq.ProtoReflect.Descriptor instead.

func (*EmailReq) FastRead

func (x *EmailReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*EmailReq) FastWrite

func (x *EmailReq) FastWrite(buf []byte) (offset int)

func (*EmailReq) GetContent

func (x *EmailReq) GetContent() string

func (*EmailReq) GetContentType

func (x *EmailReq) GetContentType() string

func (*EmailReq) GetFrom

func (x *EmailReq) GetFrom() string

func (*EmailReq) GetSubject

func (x *EmailReq) GetSubject() string

func (*EmailReq) GetTo

func (x *EmailReq) GetTo() string

func (*EmailReq) ProtoMessage

func (*EmailReq) ProtoMessage()

func (*EmailReq) ProtoReflect

func (x *EmailReq) ProtoReflect() protoreflect.Message

func (*EmailReq) Reset

func (x *EmailReq) Reset()

func (*EmailReq) Size

func (x *EmailReq) Size() (n int)

func (*EmailReq) String

func (x *EmailReq) String() string

type EmailResp

type EmailResp struct {
	// contains filtered or unexported fields
}

func (*EmailResp) Descriptor deprecated

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

Deprecated: Use EmailResp.ProtoReflect.Descriptor instead.

func (*EmailResp) FastRead

func (x *EmailResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*EmailResp) FastWrite

func (x *EmailResp) FastWrite(buf []byte) (offset int)

func (*EmailResp) ProtoMessage

func (*EmailResp) ProtoMessage()

func (*EmailResp) ProtoReflect

func (x *EmailResp) ProtoReflect() protoreflect.Message

func (*EmailResp) Reset

func (x *EmailResp) Reset()

func (*EmailResp) Size

func (x *EmailResp) Size() (n int)

func (*EmailResp) String

func (x *EmailResp) String() string

type EmailService

type EmailService interface {
	Send(ctx context.Context, req *EmailReq) (res *EmailResp, err error)
}

Directories

Path Synopsis
Code generated by Kitex v0.8.0.
Code generated by Kitex v0.8.0.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL