Documentation ¶ Index ¶ Variables type Config type EnvKeys func EnvKeysWithPrefix(prefix string) *EnvKeys func (r *EnvKeys) Config() *Config type RedisTool func (t *RedisTool) Console(c *typgo.Context) error func (t *RedisTool) Task() *typgo.Task Constants ¶ This section is empty. Variables ¶ View Source var DefaultEnvKeys = &EnvKeys{ Host: "HOST", Port: "PORT", Pass: "PASS", } Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Host string Port string Pass string } type EnvKeys ¶ added in v0.9.17 type EnvKeys Config func EnvKeysWithPrefix ¶ added in v0.9.17 func EnvKeysWithPrefix(prefix string) *EnvKeys func (*EnvKeys) Config ¶ added in v0.9.17 func (r *EnvKeys) Config() *Config type RedisTool ¶ added in v0.9.17 type RedisTool struct { Name string EnvKeys *EnvKeys DockerName string } func (*RedisTool) Console ¶ added in v0.9.17 func (t *RedisTool) Console(c *typgo.Context) error func (*RedisTool) Task ¶ added in v0.9.17 func (t *RedisTool) Task() *typgo.Task Source Files ¶ View all Source files redis.goredis_config.go Click to show internal directories. Click to hide internal directories.