You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
434 B
12 lines
434 B
4 months ago
|
package database
|
||
|
|
||
|
import "context"
|
||
|
|
||
|
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
|
||
|
}
|