add file and redis loader
This commit is contained in:
11
internal/loader/loader.go
Normal file
11
internal/loader/loader.go
Normal file
@ -0,0 +1,11 @@
|
||||
package loader
|
||||
|
||||
import (
|
||||
"context"
|
||||
"io"
|
||||
)
|
||||
|
||||
type Loader interface {
|
||||
Load(context.Context) (io.Reader, error)
|
||||
Close() error
|
||||
}
|
Reference in New Issue
Block a user