module
Version:
v0.0.0-...-d5014e6
Opens a new window with list of versions in this module.
Published: Dec 10, 2019
License: MIT
Opens a new window with license information.
README
¶
Go Redis Transfer
Motivation
Transfer data from one Redis to another
Development Setup
- Start the first Redis server
docker run -d -p 6379:6379 -i -t redis
- Populate the first Redis server (only for development)
./populate 1000
- Start the second Redis server
docker run -d -p 6380:6379 -i -t redis
- 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
¶
Click to show internal directories.
Click to hide internal directories.