Пример #1
0
func mirrorPrevIndex(conn *client.Conn, args []string) {
	if key, value, index, existed := conn.MirrorPrevIndex([]byte(args[1]), *(mustAtoi(args[2]))); existed {
		fmt.Printf("%v: %v => %v\n", index, decode(key), string(value))
	}
}