redis

package
v0.0.0-...-3fdd853 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NVT_FILENAME_POS           = 0
	NVT_REQUIRED_KEYS_POS      = 1
	NVT_MANDATORY_KEYS_POS     = 2
	NVT_EXCLUDED_KEYS_POS      = 3
	NVT_REQUIRED_UDP_PORTS_POS = 4
	NVT_REQUIRED_PORTS_POS     = 5
	NVT_DEPENDENCIES_POS       = 6
	NVT_TAGS_POS               = 7
	NVT_CVES_POS               = 8
	NVT_BIDS_POS               = 9
	NVT_XREFS_POS              = 10
	NVT_CATEGORY_POS           = 11
	NVT_FAMILY_POS             = 12
	NVT_NAME_POS               = 13
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisConnection

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

func NewRedisConnection

func NewRedisConnection(network string, address string) *RedisConnection

func (RedisConnection) Close

func (rc RedisConnection) Close() error

func (RedisConnection) GetKeys

func (rc RedisConnection) GetKeys(db int, filter string) ([]string, error)

func (RedisConnection) GetList

func (rc RedisConnection) GetList(
	db int,
	key string,
	start int,
	end int,
) ([]string, error)

Jump to

Keyboard shortcuts

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