File: nop_decoder.go

package info (click to toggle)
golang-github-cupcake-rdb 0.0~git20161107.0.43ba341-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 460 kB
  • sloc: makefile: 4
file content (24 lines) | stat: -rw-r--r-- 1,493 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package nopdecoder

// NopDecoder may be embedded in a real Decoder to avoid implementing methods.
type NopDecoder struct{}

func (d NopDecoder) StartRDB()                                       {}
func (d NopDecoder) StartDatabase(n int)                             {}
func (d NopDecoder) Aux(key, value []byte)                           {}
func (d NopDecoder) ResizeDatabase(dbSize, expiresSize uint32)       {}
func (d NopDecoder) EndDatabase(n int)                               {}
func (d NopDecoder) EndRDB()                                         {}
func (d NopDecoder) Set(key, value []byte, expiry int64)             {}
func (d NopDecoder) StartHash(key []byte, length, expiry int64)      {}
func (d NopDecoder) Hset(key, field, value []byte)                   {}
func (d NopDecoder) EndHash(key []byte)                              {}
func (d NopDecoder) StartSet(key []byte, cardinality, expiry int64)  {}
func (d NopDecoder) Sadd(key, member []byte)                         {}
func (d NopDecoder) EndSet(key []byte)                               {}
func (d NopDecoder) StartList(key []byte, length, expiry int64)      {}
func (d NopDecoder) Rpush(key, value []byte)                         {}
func (d NopDecoder) EndList(key []byte)                              {}
func (d NopDecoder) StartZSet(key []byte, cardinality, expiry int64) {}
func (d NopDecoder) Zadd(key []byte, score float64, member []byte)   {}
func (d NopDecoder) EndZSet(key []byte)                              {}