database

package
v0.0.0-...-d7b8052 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RedisAddr = os.Args[3]

Functions

func GetRedisPool

func GetRedisPool() *redis.Pool

func RedisGet

func RedisGet(pool *redis.Pool, k string) (string, error)

func RedisHget

func RedisHget(pool *redis.Pool, k string) (interface{}, error)

func RedisHset

func RedisHset(pool *redis.Pool, k string, v interface{}) (string, error)

func RedisSet

func RedisSet(pool *redis.Pool, k string, v string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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