utils

package
v0.0.0-...-ae0dd77 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GzipFileSuffix = ".gzip"
)

Variables

This section is empty.

Functions

func Compress

func Compress(data []byte, compression api.Compression) ([]byte, error)

func Decompress

func Decompress(data []byte, compression api.Compression) ([]byte, error)

func GetCompressionType

func GetCompressionType(fileURL string) api.Compression

func GetObjectKey

func GetObjectKey(key string, compression api.Compression) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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