export

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Media    *media.Service
	Store    store.Store
	StaticFS fs.FS
}

func (*Service) ExportChat

func (s *Service) ExportChat(ctx context.Context, talker string, talkerName string, startTime, endTime time.Time) ([]byte, error)

func (*Service) ExportChatCSV added in v0.1.0

func (s *Service) ExportChatCSV(ctx context.Context, talker string, talkerName string, startTime, endTime time.Time) ([]byte, error)

ExportChatCSV 导出聊天记录为 CSV 格式

func (*Service) ExportChatDOCX added in v0.1.0

func (s *Service) ExportChatDOCX(ctx context.Context, talker string, talkerName string, startTime, endTime time.Time) ([]byte, error)

ExportChatDOCX 导出聊天记录为 DOCX 格式

func (*Service) ExportChatPDF added in v0.1.0

func (s *Service) ExportChatPDF(ctx context.Context, talker string, talkerName string, startTime, endTime time.Time) ([]byte, error)

ExportChatPDF exports chat messages as a PDF file.

func (*Service) ExportChatTxt

func (s *Service) ExportChatTxt(ctx context.Context, talker string, talkerName string, startTime, endTime time.Time) ([]byte, error)

func (*Service) ExportChatXLSX added in v0.1.0

func (s *Service) ExportChatXLSX(ctx context.Context, talker string, talkerName string, startTime, endTime time.Time) ([]byte, error)

ExportChatXLSX 导出聊天记录为 XLSX 格式

func (*Service) ExportForensic added in v0.1.0

func (s *Service) ExportForensic(ctx context.Context, talker string, talkerName string, startTime, endTime time.Time) ([]byte, error)

ExportForensic 重新实现:复用精美版 HTML,增加专业取证特性

Jump to

Keyboard shortcuts

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