Documentation ¶
Index ¶
Constants ¶
View Source
const ( APP = "RDS Payload Generator" VER = "1.2.0" DESC = "Payload generator for Redis-Split" )
Application info
View Source
const ( OPT_DIR = "d:dir" OPT_KEYS = "k:keys" OPT_RATIO = "r:ratio" OPT_NO_COLOR = "nc:no-color" OPT_HELP = "h:help" OPT_VER = "v:version" OPT_VERB_VER = "vv:verbose-version" OPT_COMPLETION = "completion" OPT_GENERATE_MAN = "generate-man" )
Supported command line options
View Source
const START_PORT = 63000
START_PORT start port
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RedisStore ¶
type RedisStore struct {
// contains filtered or unexported fields
}
RedisStore is Redis connection pull
func (*RedisStore) Get ¶
func (rs *RedisStore) Get(id string) *redy.Client
Get returns client for given ID from store
func (*RedisStore) Remove ¶
func (rs *RedisStore) Remove(id string)
Remove removes client for given ID from store
Click to show internal directories.
Click to hide internal directories.