New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

github.com/nithinparam/redis_using_map

Package Overview
Dependencies
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/nithinparam/redis_using_map

Source
Go Modules
Version
v0.0.0-20210110175844-cb34e52ddfba
Version published
Created
Source

Redis Using Map

In memory data structure using maps

SetData

  • Sets the key value pair into the json file

GetData

  • GetData gets the value of a specified key

UpadteData

  • UpdateData updates the data based on command inc or dec i.e, Increment and Decrement

DeleteData

  • DeleteData deletes the data of specified key

Output:

>   go run main.go -cmd set -k a -v 1
>   go run main.go -cmd get -k a
>   go run main.go -cmd inc -k a
>   go run main.go -cmd dec -k a
>   go run main.go -cmd del -k a

FAQs

Package last updated on 10 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts