telemetry

This commit is contained in:
2025-04-13 11:24:20 +08:00
parent a6c5ba5957
commit 3d989c2f47
14 changed files with 443 additions and 63 deletions

View File

@ -3,11 +3,12 @@ package fs
import (
"ZhenTuLocalPassiveAdapter/config"
"ZhenTuLocalPassiveAdapter/dto"
"context"
"time"
)
type Adapter interface {
GetFileList(path string, relDt time.Time) ([]dto.File, error)
GetFileList(ctx context.Context, path string, relDt time.Time) ([]dto.File, error)
}
func GetAdapter() Adapter {