Documentation ¶ Index ¶ Constants Variables func New(t Technique) carrier.Carrier type Technique Constants ¶ View Source const ( Format = "pdf" ) Variables ¶ View Source var ( ErrEmptyPayload = errors.New("crypha/pdf: empty payload") ErrUnsupportedFormat = errors.New("crypha/pdf: cover must be a PDF") ErrNoPayload = errors.New("crypha/pdf: no crypha payload found") ) Functions ¶ func New ¶ func New(t Technique) carrier.Carrier Types ¶ type Technique ¶ type Technique string const ( TechniqueAttachment Technique = "attachment" TechniqueMetadata Technique = "metadata" TechniqueAppend Technique = "append" ) Source Files ¶ View all Source files pdf.go Click to show internal directories. Click to hide internal directories.