Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StreamOpAck = StreamOp("ack") StreamOpDel = StreamOp("del") )
Functions ¶
This section is empty.
Types ¶
type RedisList ¶
type RedisList struct {
Client *redis.Client
Host string
Port string
Password string
Key string
// TLS
EnableTLS *bool
TLSInsecure *bool
TLSCert *string
TLSKey *string
TLSCA *string
}
func (*RedisList) HandleFailure ¶
type RedisPubSub ¶
type RedisPubSub struct {
Client *redis.Client
Host string
Port string
Password string
Key string
// TLS
EnableTLS *bool
TLSInsecure *bool
TLSCert *string
TLSKey *string
TLSCA *string
}
func (*RedisPubSub) Cleanup ¶
func (d *RedisPubSub) Cleanup() error
func (*RedisPubSub) ClearWork ¶
func (d *RedisPubSub) ClearWork() error
func (*RedisPubSub) HandleFailure ¶
func (d *RedisPubSub) HandleFailure() error
func (*RedisPubSub) Init ¶
func (d *RedisPubSub) Init() error
func (*RedisPubSub) LoadEnv ¶
func (d *RedisPubSub) LoadEnv(prefix string) error
func (*RedisPubSub) LoadFlags ¶
func (d *RedisPubSub) LoadFlags() error
type RedisStream ¶ added in v0.0.38
type RedisStream struct {
Client *redis.Client
Host string
Port string
Password string
ConsumerName *string
ConsumerGroup *string
Key string
ValueKeys []string
MessageID *string
ClearOp *StreamOp
FailOp *StreamOp
// TLS
EnableTLS *bool
TLSInsecure *bool
TLSCert *string
TLSKey *string
TLSCA *string
}
func (*RedisStream) Cleanup ¶ added in v0.0.38
func (d *RedisStream) Cleanup() error
func (*RedisStream) ClearWork ¶ added in v0.0.38
func (d *RedisStream) ClearWork() error
func (*RedisStream) HandleFailure ¶ added in v0.0.38
func (d *RedisStream) HandleFailure() error
func (*RedisStream) Init ¶ added in v0.0.38
func (d *RedisStream) Init() error
func (*RedisStream) LoadEnv ¶ added in v0.0.38
func (d *RedisStream) LoadEnv(prefix string) error
func (*RedisStream) LoadFlags ¶ added in v0.0.38
func (d *RedisStream) LoadFlags() error
Click to show internal directories.
Click to hide internal directories.