mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-10-26 21:22:16 +08:00 
			
		
		
		
	* fix: redis support acquisition time * fix: GetActiveConversation * feat: jssdk GetConversations, GetActiveConversation * feat: jssdk GetConversations, GetActiveConversation * feat: jssdk GetConversations, GetActiveConversation * feat: jssdk GetConversations, GetActiveConversation * feat: jssdk GetConversations, GetActiveConversation
		
			
				
	
	
		
			17 lines
		
	
	
		
			483 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			483 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package database
 | |
| 
 | |
| import "context"
 | |
| 
 | |
| type SeqTime struct {
 | |
| 	Seq  int64
 | |
| 	Time int64
 | |
| }
 | |
| 
 | |
| type SeqConversation interface {
 | |
| 	Malloc(ctx context.Context, conversationID string, size int64) (int64, error)
 | |
| 	GetMaxSeq(ctx context.Context, conversationID string) (int64, error)
 | |
| 	SetMaxSeq(ctx context.Context, conversationID string, seq int64) error
 | |
| 	GetMinSeq(ctx context.Context, conversationID string) (int64, error)
 | |
| 	SetMinSeq(ctx context.Context, conversationID string, seq int64) error
 | |
| }
 |