redis

package
v0.2.5-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScriptRepository

type ScriptRepository struct {
	// contains filtered or unexported fields
}

func NewScriptRepository

func NewScriptRepository(RedisClient *redis.Client) *ScriptRepository

func (*ScriptRepository) DeleteText

func (repo *ScriptRepository) DeleteText(name string) error

func (*ScriptRepository) GetAllTextKeyForScript

func (repo *ScriptRepository) GetAllTextKeyForScript(name string) ([]string, error)

func (*ScriptRepository) GetText

func (repo *ScriptRepository) GetText(name string) (string, error)

func (*ScriptRepository) SetText

func (repo *ScriptRepository) SetText(name, value string) error

Jump to

Keyboard shortcuts

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