Documentation ¶
Index ¶
- type CmdDecode
- type CmdDump
- func (cmd *CmdDump) DumpCommand(reader *bufio.Reader, writer *bufio.Writer, nsize int64)
- func (cmd *CmdDump) DumpRDBFile(reader *bufio.Reader, writer *bufio.Writer, nsize int64)
- func (cmd *CmdDump) GetDetailedInfo() []interface{}
- func (cmd *CmdDump) Main()
- func (cmd *CmdDump) SendCmd(master, auth_type, passwd string) (net.Conn, int64)
- type CmdRestore
- func (cmd *CmdRestore) GetDetailedInfo() []interface{}
- func (cmd *CmdRestore) Main()
- func (cmd *CmdRestore) RestoreCommand(reader *bufio.Reader, target, auth_type, passwd string)
- func (cmd *CmdRestore) RestoreRDBFile(reader *bufio.Reader, target, auth_type, passwd string, nsize int64)
- func (cmd *CmdRestore) Stat() *cmdRestoreStat
- type CmdRump
- type CmdSync
- func (cmd *CmdSync) GetDetailedInfo() []interface{}
- func (cmd *CmdSync) Main()
- func (cmd *CmdSync) PSyncPipeCopy(c net.Conn, br *bufio.Reader, bw *bufio.Writer, offset int64, copyto io.Writer) (int64, error)
- func (cmd *CmdSync) SendPSyncCmd(master, auth_type, passwd string) (pipe.Reader, int64)
- func (cmd *CmdSync) SendSyncCmd(master, auth_type, passwd string) (net.Conn, int64)
- func (cmd *CmdSync) Stat() *cmdSyncStat
- func (cmd *CmdSync) SyncCommand(reader *bufio.Reader, target, auth_type, passwd string)
- func (cmd *CmdSync) SyncRDBFile(reader *bufio.Reader, target, auth_type, passwd string, nsize int64)
- type KeyNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdDecode ¶
type CmdDecode struct {
// contains filtered or unexported fields
}
func (*CmdDecode) GetDetailedInfo ¶
func (cmd *CmdDecode) GetDetailedInfo() []interface{}
type CmdDump ¶
type CmdDump struct { }
func (*CmdDump) DumpCommand ¶
func (*CmdDump) DumpRDBFile ¶
func (*CmdDump) GetDetailedInfo ¶
func (cmd *CmdDump) GetDetailedInfo() []interface{}
type CmdRestore ¶
type CmdRestore struct {
// contains filtered or unexported fields
}
func (*CmdRestore) GetDetailedInfo ¶
func (cmd *CmdRestore) GetDetailedInfo() []interface{}
func (*CmdRestore) Main ¶
func (cmd *CmdRestore) Main()
func (*CmdRestore) RestoreCommand ¶
func (cmd *CmdRestore) RestoreCommand(reader *bufio.Reader, target, auth_type, passwd string)
func (*CmdRestore) RestoreRDBFile ¶
func (cmd *CmdRestore) RestoreRDBFile(reader *bufio.Reader, target, auth_type, passwd string, nsize int64)
func (*CmdRestore) Stat ¶
func (cmd *CmdRestore) Stat() *cmdRestoreStat
type CmdRump ¶
type CmdRump struct {
// contains filtered or unexported fields
}
func (*CmdRump) GetDetailedInfo ¶
func (cr *CmdRump) GetDetailedInfo() []interface{}
type CmdSync ¶
type CmdSync struct {
// contains filtered or unexported fields
}
func (*CmdSync) GetDetailedInfo ¶
func (cmd *CmdSync) GetDetailedInfo() []interface{}
return send buffer length, delay channel length, target db offset
func (*CmdSync) PSyncPipeCopy ¶
func (*CmdSync) SendPSyncCmd ¶
func (*CmdSync) SendSyncCmd ¶
func (*CmdSync) SyncCommand ¶
Click to show internal directories.
Click to hide internal directories.