basicredis

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToDb

func ConnectToDb(addr string, port string) *redis.Client

ConnectToDb use emtpy string for hardcoded port

func GetValueFromDB

func GetValueFromDB(client *redis.Client, key string) (bool, string)

GetValueFromDB is delegated to check if a key is alredy inserted and return the value

func InsertIntoClient

func InsertIntoClient(client *redis.Client, key string, value string) bool

InsertIntoClient set the two value into the Databased pointed from the client

Types

This section is empty.

Jump to

Keyboard shortcuts

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