MCPcopy Create free account
hub / github.com/IBM/sarama / headerVersion

Method headerVersion

offset_commit_response.go:120–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118}
119
120func (r *OffsetCommitResponse) headerVersion() int16 {
121 if r.Version >= 8 {
122 return 1
123 }
124 return 0
125}
126
127func (r *OffsetCommitResponse) isValidVersion() bool {
128 return r.Version >= 0 && r.Version <= 8

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected