Categorygithub.com/giterlab/mc-cli
modulepackage
0.0.0-20170227114329-64415d317ed2
Repository: https://github.com/giterlab/mc-cli.git
Documentation: pkg.go.dev

# README

mc-cli

client tool for memcached

Build

	go get -u -v github.com/GiterLab/mc-cli

	or

	go get -u -v github.com/tools/godep
	git clone https://github.com/GiterLab/mc-cli.git
	cd mc-cli
	./build

Using

Toby@Giter-Toby-PC MINGW64 /d/prj/go/src/github.com/GiterLab/mc-cli (master)
$ ./mc-cli.exe  --> ./mc-cli.exe -host 127.0.0.1:11211 to specify the address of the memcached server
==============================
memcache client v0.0.1
==============================
MC>> set hello tobyzxj
OK

MC>> get hello
tobyzxj

MC>> set hello tobyzxj 10
OK

MC>> get hello
tobyzxj

MC>> get hello
[E] memcache: cache miss
MC>> list
------------------------
  set: set key value, set key value expiration_time
  get: get key
  getmore: getmore key
  list(l): list commands
  quit(q): quit this app
  exit(e): quit this app

MC>> exit
  Quit

Toby@Giter-Toby-PC MINGW64 /d/prj/go/src/github.com/GiterLab/mc-cli (master)
$

# Functions

删除key.
获取cache信息.
获取cache更多的信息.
初始化连接.
设置cache信息.
设置cache信息,带时间过期.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author