kvstore

package
v0.0.0-...-8dccc27 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KVMap map[string]string = make(map[string]string)
View Source
var (
	MAX_POOL_SIZE = 20
)

https://studygolang.com/articles/3029

Functions

func Exist

func Exist(k string) (string, bool)

func Store

func Store(k, v string) error

Types

type MemMap

type MemMap struct {
	// contains filtered or unexported fields
}

func (*MemMap) Exist

func (m *MemMap) Exist(k string) (string, bool)

func (*MemMap) Store

func (m *MemMap) Store(k, v string) error

type Redigo

type Redigo struct {
}

func (*Redigo) Exist

func (r *Redigo) Exist(k string) (string, bool)

func (*Redigo) Store

func (r *Redigo) Store(k, v string) error

Jump to

Keyboard shortcuts

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