mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 11:22:10 +08:00 
			
		
		
		
	feat: del interface
This commit is contained in:
		
							parent
							
								
									6666d4a426
								
							
						
					
					
						commit
						834964a3f2
					
				@ -21,7 +21,6 @@ type EvictCallback[K comparable, V any] simplelru.EvictCallback[K, V]
 | 
				
			|||||||
type LRU[K comparable, V any] interface {
 | 
					type LRU[K comparable, V any] interface {
 | 
				
			||||||
	Get(key K, fetch func() (V, error)) (V, error)
 | 
						Get(key K, fetch func() (V, error)) (V, error)
 | 
				
			||||||
	Set(key K, value V)
 | 
						Set(key K, value V)
 | 
				
			||||||
	GetBatch(key []K, fetchBatch func([]K) (map[string]V, error)) (map[string]V, error)
 | 
					 | 
				
			||||||
	SetHas(key K, value V) bool
 | 
						SetHas(key K, value V) bool
 | 
				
			||||||
	Del(key K) bool
 | 
						Del(key K) bool
 | 
				
			||||||
	Stop()
 | 
						Stop()
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user