source

package
v0.0.0-...-79fc78e Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NilType           = redis.Nil
	RedisPoolSize int = 200 // pool size
	RedisMinIdles int = 100 // min pool idle connection
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisSourceHandler

type RedisSourceHandler struct {
	source.BaseSource
	// contains filtered or unexported fields
}

func NewRedisSourceHandler

func NewRedisSourceHandler(baseSource source.BaseSource) *RedisSourceHandler

NewRedisSourceHandler initializes a new Redis source handler

func (*RedisSourceHandler) CloseSource

func (r *RedisSourceHandler) CloseSource()

CloseSource closes the Redis source

func (*RedisSourceHandler) FetchData

func (r *RedisSourceHandler) FetchData()

FetchData fetches data from Redis

func (*RedisSourceHandler) InitSource

func (r *RedisSourceHandler) InitSource()

InitSource initializes the Redis source

func (*RedisSourceHandler) SourceName

func (r *RedisSourceHandler) SourceName() string

SourceName returns the name of the Redis source

func (*RedisSourceHandler) SourceTopic

func (r *RedisSourceHandler) SourceTopic() string

SourceTopic returns the topic of the Redis source

Jump to

Keyboard shortcuts

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