ptypes

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Address

func Address(addr *letter.Address) mail.Address

Address converts a postoffice.Address proto to a mail.Address.

func AddressProto

func AddressProto(addr mail.Address) *letter.Address

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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