go-redis-transfer

module
v0.0.0-...-d5014e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2019 License: MIT

README

Go Redis Transfer

Motivation Transfer data from one Redis to another

Development Setup

  1. Start the first Redis server
docker run -d -p 6379:6379 -i -t redis
  1. Populate the first Redis server (only for development)
./populate 1000
  1. Start the second Redis server
docker run -d -p 6380:6379 -i -t redis
  1. Transfer keys from the first to the second Redis server
./transfer 6379 6380

Configuration

In the root directory (not the src dir):

export GOROOT="$(brew --prefix golang)/libexec"
export GOPATH=`pwd`
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"

Directories

Path Synopsis
src
my

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL