kafka-go: github.com/segmentio/kafka-go/zstd Index | Files

package zstd

import "github.com/segmentio/kafka-go/zstd"

Index

Package Files

zstd.go

Constants

const (
    Code = 4

    DefaultCompressionLevel = zstd.DefaultCompression
)

type CompressionCodec Uses

type CompressionCodec struct {
    // contains filtered or unexported fields
}

func NewCompressionCodec Uses

func NewCompressionCodec() *CompressionCodec

func NewCompressionCodecWith Uses

func NewCompressionCodecWith(level int) *CompressionCodec

func (*CompressionCodec) Code Uses

func (c *CompressionCodec) Code() int8

Code implements the kafka.CompressionCodec interface.

func (*CompressionCodec) Name Uses

func (c *CompressionCodec) Name() string

Name implements the kafka.CompressionCodec interface.

func (*CompressionCodec) NewReader Uses

func (c *CompressionCodec) NewReader(r io.Reader) io.ReadCloser

NewReader implements the kafka.CompressionCodec interface.

func (*CompressionCodec) NewWriter Uses

func (c *CompressionCodec) NewWriter(w io.Writer) io.WriteCloser

NewWriter implements the kafka.CompressionCodec interface.

Package zstd imports 4 packages (graph). Updated 2019-08-14. Refresh now. Tools for package owners.