We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6414db9 commit 1a60e67Copy full SHA for 1a60e67
impl/file/file.go
@@ -36,6 +36,7 @@ type file struct {
36
}
37
38
var _ persistence.Section = (*file)(nil)
39
+var _ persistence.Syncer = (*file)(nil)
40
41
func (f *file) Section(key ...string) persistence.Section {
42
f.m.Lock()
interface.go
@@ -22,6 +22,10 @@ type Section interface {
22
Delete(key string) bool
23
24
25
+type Syncer interface {
26
+ Sync()
27
+}
28
+
29
type ValueType uint8
30
31
const (
0 commit comments