package hashtag
import "github.com/go-redis/redis/internal/hashtag"
Index ¶
Functions ¶
func Key ¶
func RandomSlot ¶
func RandomSlot() int
func Slot ¶
hashSlot returns a consistent slot number between 0 and 16383 for any given string key.
Source Files ¶
- Version
- v6.15.9+incompatible (latest)
- Published
- Aug 7, 2020
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 5 days ago –
Tools for package owners.