redis

package
v1.19.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 8 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// IncrementOperation is the operation to increment a key.
	IncrementOperation bindings.OperationKind = "increment"
)

Variables

This section is empty.

Functions

func NewRedis

func NewRedis(logger logger.Logger) bindings.OutputBinding

NewRedis returns a new redis bindings instance.

Types

type Redis

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

Redis is a redis output binding.

func (*Redis) Close added in v1.2.0

func (r *Redis) Close() error

func (*Redis) GetComponentMetadata added in v1.11.0

func (r *Redis) GetComponentMetadata() (metadataInfo metadata.MetadataMap)

GetComponentMetadata returns the metadata of the component.

func (*Redis) Init

func (r *Redis) Init(ctx context.Context, meta bindings.Metadata) (err error)

Init performs metadata parsing and connection creation.

func (*Redis) Invoke

func (*Redis) Operations

func (r *Redis) Operations() []bindings.OperationKind

func (*Redis) Ping added in v1.8.0

func (r *Redis) Ping(ctx context.Context) error

Jump to

Keyboard shortcuts

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