Versions in this module Expand all Collapse all v1 v1.3.1 Jan 14, 2025 v1.3.0 Jan 10, 2025 Changes in this version + type Codec struct + func New(opts ...Option) (*Codec, error) + func (c *Codec) Decode(payloads []*common.Payload) ([]*common.Payload, error) + func (c *Codec) Encode(payloads []*common.Payload) ([]*common.Payload, error) + type Option interface + func WithCustomHeader(header string, value string) Option + func WithDecodeOnly() Option + func WithHTTPClient(client *http.Client) Option + func WithHTTPRoundTripper(rt http.RoundTripper) Option + func WithMinBytes(bytes uint32) Option + func WithNamespace(namespace string) Option + func WithURL(u string) Option + func WithVersion(version string) Option + func WithoutUrlHealthCheck() Option