Documentation ¶
Index ¶
- func Address(addr *letter.Address) mail.Address
- func AddressProto(addr mail.Address) *letter.Address
- func Attachment(attch *letter.Attachment) postoffice.Attachment
- func AttachmentProto(attch postoffice.Attachment) *letter.Attachment
- func Letter(let *letter.Letter) *postoffice.Letter
- func LetterProto(let *postoffice.Letter) *letter.Letter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddressProto ¶
AddressProto converts a mail.Address to a postoffice.Address proto.
func Attachment ¶
func Attachment(attch *letter.Attachment) postoffice.Attachment
Attachment converts a postoffice.Attachment proto to a postoffice.Attachment.
func AttachmentProto ¶
func AttachmentProto(attch postoffice.Attachment) *letter.Attachment
AttachmentProto converts a postoffice.Attachment to a postoffice.Attachment proto.
func Letter ¶
func Letter(let *letter.Letter) *postoffice.Letter
Letter converts a postoffice.Letter proto to a *postoffice.Letter.
func LetterProto ¶
func LetterProto(let *postoffice.Letter) *letter.Letter
LetterProto converts a *postoffice.Letter to a postoffice.Letter proto.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.