MCPcopy
hub / github.com/segmentio/kafka-go / String

Method String

protocol/record.go:37–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37func (a Attributes) String() string {
38 s := a.Compression().String()
39 if a.Transactional() {
40 s += "+transactional"
41 }
42 if a.Control() {
43 s += "+control"
44 }
45 return s
46}
47
48// Header represents a single entry in a list of record headers.
49type Header struct {

Callers

nothing calls this directly

Calls 3

CompressionMethod · 0.95
TransactionalMethod · 0.95
ControlMethod · 0.95

Tested by

no test coverage detected