deduplication

package
v0.96.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageDeDuplicate

type MessageDeDuplicate struct {
	// contains filtered or unexported fields
}

func NewMessageDeDuplicate

func NewMessageDeDuplicate(kv kv.Store) MessageDeDuplicate

func (*MessageDeDuplicate) GetDuplicateMessage

func (m *MessageDeDuplicate) GetDuplicateMessage(ctx context.Context, senderUserId, clientRandomId int64) (*mtproto.Updates, error)

func (*MessageDeDuplicate) HasDuplicateMessage

func (m *MessageDeDuplicate) HasDuplicateMessage(ctx context.Context, senderUserId, deDuplicateId int64) (bool, error)

func (*MessageDeDuplicate) PutDuplicateMessage

func (m *MessageDeDuplicate) PutDuplicateMessage(ctx context.Context, senderUserId, deDuplicateId int64, upd *mtproto.Updates) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL