validate.go
func ValidKey(key string) bool {
	return len(key) <= maxKey && keyRegex.Match([]byte(key))
}
func ValidKey(key string) bool {
	return len(key) <= maxKey && keyRegex.Match([]byte(key))
}
func ValidKey ( key string ) bool { return len ( key ) <= maxKey && keyRegex . Match ( [ ] byte ( key ) ) }
// ValidKey returns true if the given key is valid, otherwise false.
ValidKey returns true if the given key is valid otherwise false .