- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewRandom (0.08 sec)
-
internal/store/queuestore.go
return os.Remove(store.directory) } // PutMultiple - puts an item to the store. func (store *QueueStore[I]) PutMultiple(items []I) (Key, error) { // Generate a new UUID for the key. uid, err := uuid.NewRandom() if err != nil { return Key{}, err } store.Lock() defer store.Unlock() if uint64(len(store.entries)) >= store.entryLimit { return Key{}, errLimitExceeded } key := Key{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.6K bytes - Viewed (0)