typredis

package
v0.9.21 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2021 License: MIT Imports: 2 Imported by: 1

Documentation

Index

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

Jump to

Keyboard shortcuts

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