mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 03:13:15 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			210 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			210 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package cache
 | 
						|
 | 
						|
import "context"
 | 
						|
 | 
						|
type OnlineCache interface {
 | 
						|
	GetOnline(ctx context.Context, userID string) ([]int32, error)
 | 
						|
	SetUserOnline(ctx context.Context, userID string, online, offline []int32) error
 | 
						|
}
 |