Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultCompression Quality: 4 LGWin: 11 // from 0-11. 4 will bring the files faster than 11. the higher quality the slower compression time DefaultCompression = Options{ WriterOptions: brotli.WriterOptions{ Quality: 4, LGWin: 11, }, SkipExtensions: []string{".png", ".gif", ".jpeg", ".jpg", ".mp3", ".mp4"}, } )
Functions ¶
Types ¶
type Options ¶
type Options struct { brotli.WriterOptions SkipExtensions []string }
Options is a wrapper for cbrotli.WriterOptions
Click to show internal directories.
Click to hide internal directories.