| 46 | } |
| 47 | |
| 48 | type writer struct { |
| 49 | *gzip.Writer |
| 50 | pool *sync.Pool |
| 51 | } |
| 52 | |
| 53 | // SetLevel updates the registered gzip compressor to use the compression level specified (gzip.HuffmanOnly is not supported). |
| 54 | // NOTE: this function must only be called during initialization time (i.e. in an init() function), |
nothing calls this directly
no outgoing calls
no test coverage detected