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

Method isValidVersion

sync_group_request.go:161–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159}
160
161func (r *SyncGroupRequest) isValidVersion() bool {
162 return r.Version >= 0 && r.Version <= 5
163}
164
165func (r *SyncGroupRequest) isFlexible() bool {
166 return r.isFlexibleVersion(r.Version)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected