store

package
v0.0.0-...-04d676d Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package store provides means for data storage and retrieving.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c *Cfg) (*store, error)

New creates a new instance of store.

Types

type Cfg

type Cfg struct {
	Addr             cfg.Addr
	Password         string
	MaxIdlePoolConns uint32
	IdleTimeout      time.Duration
}

Cfg is used to initialize an instance of store.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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