storage

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: ISC Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OrphanBlocks = "orphan_blocks"
)

Variables

This section is empty.

Functions

func HGetAll

func HGetAll(hKey string) (map[string]string, error)

HGetAll is a wrapper for HGetAll Redis command

func HIncr

func HIncr(hKey, hValue string) error

HIncr is a wrapper for HIncrBy Redis command

func New

func New(conf *settings.Configuration) error

New populates new Redis storage singleton

func Stop

func Stop() error

Types

type Storage

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

Jump to

Keyboard shortcuts

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