Documentation ¶
Overview ¶
Package redis implements the Redis Pub/Sub connector.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisSink ¶
type RedisSink struct {
// contains filtered or unexported fields
}
RedisSink represents a Redis Pub/Sub sink connector.
func NewRedisSink ¶
NewRedisSink returns a new RedisSink instance.
type RedisSource ¶
type RedisSource struct {
// contains filtered or unexported fields
}
RedisSource represents a Redis Pub/Sub source connector.
func NewRedisSource ¶
func NewRedisSource(ctx context.Context, config *redis.Options, channel string) (*RedisSource, error)
NewRedisSource returns a new RedisSource instance.
func (*RedisSource) Out ¶
func (rs *RedisSource) Out() <-chan any
Out returns an output channel for sending data.
Click to show internal directories.
Click to hide internal directories.