logs

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModel

func NewModel() func(NewModelParams) (*Model, error)

Types

type Model

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

func (*Model) MigrateLogsOfChatFromChatIDToChatID

func (m *Model) MigrateLogsOfChatFromChatIDToChatID(fromChatID int64, toChatID int64) error

func (*Model) PruneAllLogsContentForChatID

func (m *Model) PruneAllLogsContentForChatID(chatID int64) error

type NewModelParams

type NewModelParams struct {
	fx.In

	Config *configs.Config
	Ent    *datastore.Ent
	Digger *datastore.AutoRecapTimeCapsuleDigger
	Logger *logger.Logger
}

Jump to

Keyboard shortcuts

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