---
title: "Discussion on \"[Golang] Use Redis implement attempt access in period\" | Hashnode"
description: "Discussion on \"[Golang] Use Redis implement attempt access in period\". Code example:\nconnect redis:\nfunc InitRedis() *redis.Client {\n    rdb := redis.NewClient(&redis.Options{\n        Addr:     \"localhost:6379\",\n        Password: \"\", // no password set\n        DB:       0,  // use default DB\n    })\n    return rdb\n}\n\nmai..."
url: "https://hashnode.com/posts/golang-use-redis-implement-attempt-access-in-period/63945a42d1fe3b534e7c2db1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [\[Golang\] Use Redis implement attempt access in period](https://opendev.hashnode.dev/golang-use-redis-implement-attempt-access-in-period?utm_source=hashnode&utm_medium=feed)

Code example: connect redis: func InitRedis() \*redis.Client { rdb := redis.NewClient(&redis.Options{ Addr: "localhost:6379", Password: "", // no password set DB: 0, // use default DB }) return rdb } mai...

Dec 10, 2022 · 1 min read · opendev.hashnode.dev  
Read the article

-   [#golang](https://hashnode.com/tag/golang)
-   [#redis](https://hashnode.com/tag/redis)
-   [#pipeline](https://hashnode.com/tag/pipeline)

## Written by

[OpenDev](https://hashnode.com/@OpenDev)

@OpenDev · VietNam

  
[View profile](https://hashnode.com/@OpenDev)

Golang,Redis,Docker,Reactjs

I am a developer from Vietnamese's

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
