etcdserver/api/rafthttp/stream.go
func checkStreamSupport(v *semver.Version, t streamType) bool {
	nv := &semver.Version{Major: v.Major, Minor: v.Minor}
	for _, s := range supportedStream[nv.String()] {
		if s == t {
			return true
		}
	}
	return false
}
func checkStreamSupport(v *semver.Version, t streamType) bool {
	nv := &semver.Version{Major: v.Major, Minor: v.Minor}
	for _, s := range supportedStream[nv.String()] {
		if s == t {
			return true
		}
	}
	return false
}
func checkStreamSupport ( v * semver . Version , t streamType ) bool { nv := & semver . Version { Major : v . Major , Minor : v . Minor } for _ , s := range supportedStream [ nv . String ( ) ] { if s == t { return true } } return false }
// checkStreamSupport checks whether the stream type is supported in the
// given version.
checkStreamSupport checks whether the stream type is supported in the given version .