Variables | |
tuple | p = optparse.OptionParser(usage="usage: %prog [options] <key> <value>") |
string | default = "http://localhost:1234/" |
string | help = "gateway URI, list at http://opendht.org/servers.txt" |
string | type = "int" |
tuple | pxy = ServerProxy(opts.gateway) |
tuple | key = Binary(sha.new(args[0]).digest()) |
tuple | ttl = int(opts.ttl) |
string put::default = "http://localhost:1234/" |
string put::help = "gateway URI, list at http://opendht.org/servers.txt" |
tuple put::key = Binary(sha.new(args[0]).digest()) |
tuple put::pxy = ServerProxy(opts.gateway) |
tuple put::ttl = int(opts.ttl) |
string put::type = "int" |