redis

package
v0.0.0-...-ec22ba9 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 8 Imported by: 2

Documentation

Overview

Redis manager for mewld

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LauncherCmd

type LauncherCmd struct {
	Scope     string         `json:"scope"`
	Action    string         `json:"action"`
	Args      map[string]any `json:"args,omitempty"`
	CommandId string         `json:"command_id,omitempty"`
	Output    any            `json:"output,omitempty"`
	Data      map[string]any `json:"data,omitempty"` // Used in action logs
}

type RedisHandler

type RedisHandler struct {
	Ctx          context.Context    `json:"-"` // A different context is used here to allow for some customizability
	InstanceList *proc.InstanceList `json:"-"`
}

A Handler for redis

func (*RedisHandler) Start

func (r *RedisHandler) Start(il *proc.InstanceList)

Jump to

Keyboard shortcuts

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