redis

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisSource

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

RedisSource implements the hermod.Source interface for Redis Streams.

func NewRedisSource

func NewRedisSource(addr string, password string, stream string, group string) *RedisSource

func (*RedisSource) Ack

func (s *RedisSource) Ack(ctx context.Context, msg hermod.Message) error

func (*RedisSource) Close

func (s *RedisSource) Close() error

func (*RedisSource) IsReady

func (s *RedisSource) IsReady(ctx context.Context) error

func (*RedisSource) Ping

func (s *RedisSource) Ping(ctx context.Context) error

func (*RedisSource) Read

func (s *RedisSource) Read(ctx context.Context) (hermod.Message, error)

func (*RedisSource) Sample

func (s *RedisSource) Sample(ctx context.Context, table string) (hermod.Message, error)

Jump to

Keyboard shortcuts

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