redis

package
v0.0.0-...-8844715 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package redis is a encapsulation for go-redis package

The key is represented by a encoded ID used on database it means that decoding the key you will retrieve the ID for the register on database

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(key string) (result string, err error)

Get retrieve the URL for given encoded encoded ID

func Set

func Set(key, url string) (err error)

Set saves the given URL for an encoded ID

Types

This section is empty.

Jump to

Keyboard shortcuts

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