()
| 118 | } |
| 119 | |
| 120 | func (r *OffsetCommitResponse) headerVersion() int16 { |
| 121 | if r.Version >= 8 { |
| 122 | return 1 |
| 123 | } |
| 124 | return 0 |
| 125 | } |
| 126 | |
| 127 | func (r *OffsetCommitResponse) isValidVersion() bool { |
| 128 | return r.Version >= 0 && r.Version <= 8 |
nothing calls this directly
no outgoing calls
no test coverage detected