Documentation
¶
Index ¶
- func Gzip(data []byte) (io.Reader, error)
- func GzipBytes(data []byte) ([]byte, error)
- func GzipJSON(data any) (io.Reader, error)
- func GzipJSONBytes(data any) ([]byte, error)
- func UnGzip(data io.Reader) ([]byte, error)
- func UnGzipBytes(data []byte) ([]byte, error)
- func UnGzipJSONUnmarshal(data io.Reader, v any) error
- func UnGzipJSONUnmarshalBytes(data []byte, v any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GzipJSONBytes ¶
GzipJSONBytes compresses the JSON data.
func UnGzipBytes ¶
UnGzipBytes decompresses the bytes.
func UnGzipJSONUnmarshal ¶
UnGzipJSON decompresses the JSON data.
func UnGzipJSONUnmarshalBytes ¶
UnGzipJSONUnmarshalBytes decompresses the JSON data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.