Skip to content

stolostron/hub-of-hubs-message-compression

hub-of-hubs-message-compression

Go Report Card Go Reference License

The message compression component of Hub-of-Hubs.

This repo provides compression logic to be used by different transport components for compression/decompression of synced messages.

Go to the Contributing guide to learn how to get involved.

Getting Started

In order to use message compression one must call NewCompressor function with the string identifier of any of the supported compression implementations.

Supported implementations (found in compressor types):

  • GZip - "gzip" : implements compression based on compress/gzip package.
  • NoOp - "no-op" : implements no-op compression based on the No-Op pattern.