Documentation
¶
Index ¶
Constants ¶
View Source
const (
FileDateFormat = "2006/01/02"
)
View Source
const (
S3DateFormat = "2006/01/02"
)
Variables ¶
This section is empty.
Functions ¶
func GetS3Client ¶ added in v0.1.3
Types ¶
type Archiver ¶ added in v0.1.3
type BaseArchiver ¶
type BaseArchiver[T any] struct { // contains filtered or unexported fields }
func NewFileArchiver ¶
func NewFileArchiver[T any](archiveDir, dataType string, bufSize int) (*BaseArchiver[T], error)
func NewS3Archiver ¶
type FileLoader ¶
type FileLoader[T any] struct { // contains filtered or unexported fields }
func (*FileLoader[T]) List ¶
func (t *FileLoader[T]) List(start *time.Time) (<-chan string, <-chan error)
func (*FileLoader[T]) Load ¶
func (t *FileLoader[T]) Load(filename string) (io.ReadCloser, error)
type S3Loader ¶
type S3Loader[T any] struct { // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.