myredis

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNameToRedis

func AddNameToRedis(pkgName string, pkgRepo string)

AddNameToRedis add name and pkg to redis-string

func AddNameToRedis2

func AddNameToRedis2(pkgName string)

AddNameToRedis2 add name to redis-list

func GetNamesFromRedis

func GetNamesFromRedis() []string

GetNamesFromRedis get all names from key[pkgNames],it uses redis-list

func GetPkg

func GetPkg(pkgName string) (string, error)

GetPkg get name from key[pkgName],it uses redis-string

func GetReposFromRedis

func GetReposFromRedis() []string

func NewRedis

func NewRedis() *redis.Client

Discarded

Types

This section is empty.

Jump to

Keyboard shortcuts

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