feat: added KV storage interface
This commit is contained in:
parent
4d33b12fe0
commit
5c4bbe0b58
3 changed files with 44 additions and 0 deletions
11
pkg/storage/disk.go
Normal file
11
pkg/storage/disk.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package storage
|
||||
|
||||
type DiskStorage struct{}
|
||||
|
||||
func (ds *DiskStorage) Read(k string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (ms *DiskStorage) Write(k string, v any) error {
|
||||
return nil
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue