redis

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteRedisDataToFile

func WriteRedisDataToFile(filename string, data []RedisData) error

WriteRedisDataToFile writes the key-value pairs of RedisData to a file.

Types

type RedisData

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

func GenerateRedisData

func GenerateRedisData(count int, sizeVariant constants.PayloadSizeVariant) []RedisData

count is the number of entries to generate size is the size of each data for each entry

Jump to

Keyboard shortcuts

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