cache

package
v0.0.0-...-48e72fb Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

* @Author: Matheus Leal * @Date: 2022-07-01 22:54:39 * @Last Modified by: Matheus Leal * @Last Modified time: 2022-07-03 14:26:13

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendData

func AppendData(address string, password string, key string, value string) error

*

  • Append a data for a existent key at a Redis server. *
  • @param address string Redis server address
  • password string Redis server password
  • key string Redis server key
  • value string Redis server key value
  • @return error A Redis server error

func GetData

func GetData(address string, password string, key string) string

*

  • Get a data from a Redis server. *
  • @param address string Redis server address
  • password string Redis server password
  • key string Redis server key
  • @return string A Redis server key value

func SetData

func SetData(address string, password string, key string, value string) error

*

  • Insert a data from a Redis server. *
  • @param address string Redis server address
  • password string Redis server password
  • key string Redis server key
  • value string Redis server key value
  • @return error A Redis server error

Types

This section is empty.

Jump to

Keyboard shortcuts

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