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

Method isValidVersion

fetch_request.go:303–305  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

301}
302
303func (r *FetchRequest) isValidVersion() bool {
304 return r.Version >= 0 && r.Version <= 12
305}
306
307func (r *FetchRequest) isFlexible() bool {
308 return r.isFlexibleVersion(r.Version)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected