rds

package
v0.0.0-...-0453e60 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Namespace for redis data of the workers.
	Namespace = "{harbor-scanner-adapter}"
)

Variables

This section is empty.

Functions

func CloseConn

func CloseConn(conn redis.Conn)

CloseConn closes the redis conn. If error happened, then log it.

func RedisPool

func RedisPool() (*redis.Pool, error)

RedisPool inits a redis pool for the scan workers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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