db

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client_redis added in v0.1.3

func Client_redis() *redis.Client

func Get added in v0.1.1

func Get(input string) (string, error)
func GetTotalLinks() int

func GetTotalViews

func GetTotalViews() int

func Init_redis

func Init_redis()

func Set added in v0.1.1

func Set(key string, value interface{}, time time.Duration) error
func StatsIncreaseTotalLinks() (int, error)
func StatsIncreaseViewsLinks() (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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