Documentation ¶
Index ¶
- func NotifyLcpServer(pub *apilcp.LcpPublication, licenseServerURL string, username string, ...) error
- func ProcessPublication(contentID, inputPath, tempRepo, outputRepo, storageRepo, storageURL string) (*apilcp.LcpPublication, error)
- func StorePublication(pub *apilcp.LcpPublication, inputPath string, storagePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotifyLcpServer ¶
func NotifyLcpServer(pub *apilcp.LcpPublication, licenseServerURL string, username string, password string) error
NotifyLcpServer notifies the License Server of the encryption of newly added publication
func ProcessPublication ¶
func ProcessPublication(contentID, inputPath, tempRepo, outputRepo, storageRepo, storageURL string) (*apilcp.LcpPublication, error)
ProcessPublication encrypts a publication inputPath must contain a processable file extension (EPUB, PDF, LPF or RPF)
func StorePublication ¶
func StorePublication(pub *apilcp.LcpPublication, inputPath string, storagePath string) error
StorePublication stores an encrypted file into its definitive storage. Only called for S3 buckets.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.