# Functions
NewAESEncrypterDecrypter creates a new encrypter-decrypter processor, using the Golang std AES implementation as its internal algorithm.
NewCompressorDecompressor returns a new instance for the given compression type.
NewEncrypterDecrypter returns a new instance for the given encryption type.
NewGZipCompressorDecompressor creates a new compressor-decompressor processor, using Golang's standard gzip implementation.
NewLZ4CompressorDecompressor creates a new compressor-decompressor processor, using the LZ4 compression algorithm, implemented by Pierre Curto.
NewProcessorChain creates a new processor chain.
NewSnappyCompressorDecompressor creates a new compressor-decompressor processor, using google's Snappy compression implementation in Golang.
RegisterCompressorDecompressor registers a new or overwrite an existing compression algorithm.
RegisterEncrypterDecrypter registers a new or overwrite an existing encryption algorithm.
# Constants
CompressionModeBestCompression is the enum constant which identifies the request to use the compression with a configuration, which aims for the best possible compression (ratio), using that algorithm.
CompressionModeBestSpeed is the enum constant which identifies the request to use the compression with a configuration, which aims for the best possible speed, using that algorithm.
CompressionModeDefault is the enum constant which identifies the default compression mode.
CompressionModeDisabled is the enum constant which identifies the disabled compression mode.
CompressionTypeGZip is the enum constant which identifies gz4, a compression algorithm, part of the Golang std.
CompressionTypeLZ4 is the enum constant which identifies lz4, a compression algorithm, implemented by Pierre Curto.
CompressionTypeSnappy is the enum constant which identifies Snappy, a compression algorithm, implemented by Google, and also the compression algorithm, promoted by this package and used by default.
DefaultCompressionType represents the default compression algorithm as promoted by this package.
DefaultEncryptionType represents the default encryption algorithm as promoted by this package.
EncryptionTypeAES is the enum constant which identifies AES, an encryption algorithm, and also the encryption algorithm, promoted by this package and used by default.
MaxStandardCompressionType defines the compression type, which has the greatest defined/used enum value.
MaxStandardEncryptionType defines the encryption type, which has the greatest defined/used enum value.
# Structs
AESEncrypterDecrypter defines a processor, which encrypts and decrypts, using the Golang std AES implementation as its internal algorithm.
GZipCompressorDecompressor defines a processor, which compresses and decompresses, using Golang's standard gzip implementation.
LZ4CompressorDecompressor defines a processor, which compresses and decompresses, using the LZ4 compression algorithm, implemented by Pierre Curto.
NopProcessor implements the Processor interface, but does not do any processing whatsoever.
ProcessorChain can be used to chain multiple processor together.
SnappyCompressorDecompressor defines a processor, which compresses and decompresses, using google's Snappy compression implementation in Golang.
# Interfaces
Processor defines the interface which can process data.
# Type aliases
CompressionMode represents a compression mode.
CompressionType represents a compression algorithm.
CompressorDecompressorConstructor defines a function which can be used to create an compressor-decompressor.
EncrypterDecrypterConstructor defines a function which can be used to create an encrypter-decrypter.
EncryptionType represents an encryption algorithm.