mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 19:32:17 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			364 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			364 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package cache
 | 
						|
 | 
						|
import "context"
 | 
						|
 | 
						|
type SeqConversationCache interface {
 | 
						|
	Malloc(ctx context.Context, conversationID string, size int64) (int64, error)
 | 
						|
	GetMaxSeq(ctx context.Context, conversationID string) (int64, error)
 | 
						|
	SetMinSeq(ctx context.Context, conversationID string, seq int64) error
 | 
						|
	GetMinSeq(ctx context.Context, conversationID string) (int64, error)
 | 
						|
}
 |