tools

package
v3.5.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartTask

func StartTask() error

Types

type MsgTool

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

func InitMsgTool

func InitMsgTool() (*MsgTool, error)

func NewMsgTool

func NewMsgTool(msgDatabase controller.CommonMsgDatabase, userDatabase controller.UserDatabase,
	groupDatabase controller.GroupDatabase, conversationDatabase controller.ConversationDatabase, msgNotificationSender *notification.MsgNotificationSender,
) *MsgTool

func (*MsgTool) AllConversationClearMsgAndFixSeq

func (c *MsgTool) AllConversationClearMsgAndFixSeq()

func (*MsgTool) ClearConversationsMsg

func (c *MsgTool) ClearConversationsMsg(ctx context.Context, conversationIDs []string)

func (*MsgTool) ConversationsDestructMsgs

func (c *MsgTool) ConversationsDestructMsgs()

func (*MsgTool) FixAllSeq

func (c *MsgTool) FixAllSeq(ctx context.Context) error

Jump to

Keyboard shortcuts

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