Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

gocache

wrapper for all (to-be) kinds of imdb memory cache

Supported providers

  • Redis

Install

$ go get github.com/febytanzil/gocache

Usage

package main

import (
    "github.com/febytanzil/gocache/redis"
    "time"
)

func main() {
    basicRedis := redis.NewBasic("127.0.0.1:6379", redis.WithConnection(30, 10, 60*time.Second))
    
    err := basicRedis.Set("key", "value", 60*time.Second)
    if nil != err {
    	// handle the error
    }
}

About

imdb cache wrapper written in golang

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages