mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-04 16:32:41 +08:00
add aof-use-rdb-preamble
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
package database
|
||||
|
||||
import (
|
||||
"github.com/hdt3213/godis/interface/redis"
|
||||
"time"
|
||||
|
||||
"github.com/hdt3213/godis/interface/redis"
|
||||
"github.com/hdt3213/rdb/core"
|
||||
)
|
||||
|
||||
// CmdLine is alias for [][]byte, represents a command line
|
||||
@@ -13,6 +15,7 @@ type DB interface {
|
||||
Exec(client redis.Connection, cmdLine [][]byte) redis.Reply
|
||||
AfterClientClose(c redis.Connection)
|
||||
Close()
|
||||
LoadRDB(dec *core.Decoder) error
|
||||
}
|
||||
|
||||
// DBEngine is the embedding storage engine exposing more methods for complex application
|
||||
|
Reference in New Issue
Block a user