type archive/zip.Compressor
10 uses
archive/zip (current package)
register.go#L19: type Compressor func(w io.Writer) (io.WriteCloser, error)
register.go#L110: compressors.Store(Store, Compressor(func(w io.Writer) (io.WriteCloser, error) { return &nopCloser{w}, nil }))
register.go#L111: compressors.Store(Deflate, Compressor(func(w io.Writer) (io.WriteCloser, error) { return newFlateWriter(w), nil }))
register.go#L127: func RegisterCompressor(method uint16, comp Compressor) {
register.go#L133: func compressor(method uint16) Compressor {
register.go#L138: return ci.(Compressor)
writer.go#L29: compressors map[uint16]Compressor
writer.go#L411: func (w *Writer) RegisterCompressor(method uint16, comp Compressor) {
writer.go#L413: w.compressors = make(map[uint16]Compressor)
writer.go#L418: func (w *Writer) compressor(method uint16) Compressor {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |