github.com/signintech/pdft@v0.5.0/minigopdf/config.go (about) 1 package gopdf 2 3 // Config static config 4 type Config struct { 5 //pt , mm , cm , in 6 Unit string 7 PageSize Rect 8 K float64 9 Protection PDFProtectionConfig 10 } 11 12 // PDFProtectionConfig config of pdf protection 13 type PDFProtectionConfig struct { 14 UseProtection bool 15 Permissions int 16 UserPass []byte 17 OwnerPass []byte 18 }