Initial commit
Proof-of-concept implementation. Bugs will occur.
This commit is contained in:
10
internal/domains/cacher.go
Normal file
10
internal/domains/cacher.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package domains
|
||||
|
||||
import "source.hodakov.me/hdkv/faketunes/internal/domains/cacher/dto"
|
||||
|
||||
const CacherName = "cacher"
|
||||
|
||||
type Cacher interface {
|
||||
GetStat(sourcePath string) (int64, error)
|
||||
GetFileDTO(sourcePath string) (*dto.CacheItem, error)
|
||||
}
|
||||
Reference in New Issue
Block a user