MCPcopy
hub / github.com/openimsdk/open-im-server / SetUserReadSeq

Method SetUserReadSeq

pkg/common/storage/database/seq_user.go:11–11  ·  view source on GitHub ↗
(ctx context.Context, conversationID string, userID string, seq int64)

Source from the content-addressed store, hash-verified

9 SetUserMinSeq(ctx context.Context, conversationID string, userID string, seq int64) error
10 GetUserReadSeq(ctx context.Context, conversationID string, userID string) (int64, error)
11 SetUserReadSeq(ctx context.Context, conversationID string, userID string, seq int64) error
12 GetUserReadSeqs(ctx context.Context, userID string, conversationID []string) (map[string]int64, error)
13}

Callers 4

MainFunction · 0.65
SetUserReadSeqToDBMethod · 0.65
SetHasReadSeqsMethod · 0.65
SetHasReadSeqMethod · 0.65

Implementers 1

seqUserCacheRedispkg/common/storage/cache/redis/seq_use

Calls

no outgoing calls

Tested by

no test coverage detected