Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "redis"
Name of executor
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct { Name string `json:"name,omitempty" yaml:"name,omitempty"` Args []interface{} `json:"args,omitempty" yaml:"args,omitempty"` Response interface{} `json:"response,omitempty" yaml:"response,omitempty"` }
Command represents a redis command and the result
type Executor ¶
type Executor struct { DialURL string `json:"dialURL,omitempty" yaml:"dialURL,omitempty" mapstructure:"dialURL"` Commands []string `json:"commands,omitempty" yaml:"commands,omitempty"` FilePath string `json:"path,omitempty" yaml:"path,omitempty" mapstructure:"path"` }
Executor represents the redis executor
func (Executor) ZeroValueResult ¶
func (Executor) ZeroValueResult() interface{}
ZeroValueResult return an empty implementation of this executor result
Click to show internal directories.
Click to hide internal directories.