compressx

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GzipCompressJSON

func GzipCompressJSON(ctx context.Context, jsonData []byte) ([]byte, error)

GzipCompressJSON compresses a JSON-encoded byte slice using gzip.

func GzipDecompressIfNeeded

func GzipDecompressIfNeeded(ctx context.Context, data []byte) ([]byte, error)

GzipDecompressIfNeeded decompresses the data if it's gzipped

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL