memcached-mysql

command module
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 10 Imported by: 0

README

memcached-mysql

Memcached mysql proxy mimicks the behaviour of MySQL memcached plugin but in a standalone process.

Usage

To build the proxy, run:

make

To run the proxy, run:

# Configuration file can be passed in via the `--config` flag.
# Default value is `./config.yaml`.
./memcached-proxy --config path/to/config.yaml

# Command line flags can be passed in as an environment variable as well.
# In this case, MYSQL_PASSWORD has higher precedence than the the key `mysql.password` set
# in the configuration file.
MYSQL_PASSWORD=password CONFIG=path/to/config.yaml ./memcached-proxy

Address of the MySQL server, address of the memcached proxy, as well as mapping can be configured in the configuration file. For the full specification of the configurable values, see the Config struct in the config/config.go file.

Credits

This package modifies and builds on the mattrobenolt/go-memcached package.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package memcached provides an interface for building your own memcached ascii protocol servers.
Package memcached provides an interface for building your own memcached ascii protocol servers.

Jump to

Keyboard shortcuts

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