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

Method isValidVersion

offset_commit_request.go:276–278  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

274}
275
276func (r *OffsetCommitRequest) isValidVersion() bool {
277 return r.Version >= 0 && r.Version <= 8
278}
279
280func (r *OffsetCommitRequest) isFlexible() bool {
281 return r.isFlexibleVersion(r.Version)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected