Documentation ¶
Index ¶
- func NewZlibInvertIndexCompresser() service.InvertIndexCompresser
- type ZlibInvertIndexCompresser
- func (c *ZlibInvertIndexCompresser) Compress(ctx context.Context, invertIndex *entities.InvertIndex) (*entities.InvertIndexCompressed, *errors.Error)
- func (c *ZlibInvertIndexCompresser) Decompress(ctx context.Context, invertIndex *entities.InvertIndexCompressed) (*entities.InvertIndex, *errors.Error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewZlibInvertIndexCompresser ¶
func NewZlibInvertIndexCompresser() service.InvertIndexCompresser
Types ¶
type ZlibInvertIndexCompresser ¶
type ZlibInvertIndexCompresser struct { }
func (*ZlibInvertIndexCompresser) Compress ¶
func (c *ZlibInvertIndexCompresser) Compress(ctx context.Context, invertIndex *entities.InvertIndex) (*entities.InvertIndexCompressed, *errors.Error)
func (*ZlibInvertIndexCompresser) Decompress ¶
func (c *ZlibInvertIndexCompresser) Decompress(ctx context.Context, invertIndex *entities.InvertIndexCompressed) (*entities.InvertIndex, *errors.Error)
Click to show internal directories.
Click to hide internal directories.