Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actor ¶
type Actor interface { SupportedCommands() []Command Do(ctx context.Context, cluster types.RedisInstance) *ActorResult }
Actor actor is used process instance with specified state
type ActorManager ¶
type ActorManager struct {
// contains filtered or unexported fields
}
ActorManager
type ActorResult ¶
type ActorResult struct {
// contains filtered or unexported fields
}
ActorResult
func NewResult ¶
func NewResult(cmd Command) *ActorResult
func NewResultWithError ¶
func NewResultWithError(cmd Command, err error) *ActorResult
func NewResultWithValue ¶
func NewResultWithValue(cmd Command, val interface{}) *ActorResult
Click to show internal directories.
Click to hide internal directories.