Documentation
¶
Index ¶
- type AuxFieldEvent
- type Event
- type EventStreamer
- type EventType
- type HashField
- type HashObjectEvent
- type ListObjectEvent
- type MagicNumberEvent
- type ModuleObjectEvent
- type Parser
- type RedisRdbEvent
- type ResizeDbEvent
- type SelectDbEvent
- type SetObjectEvent
- type StreamConsumer
- type StreamConsumerGroup
- type StreamEntry
- type StreamId
- type StreamNAck
- type StreamObjectEvent
- type StringObjectEvent
- type VersionEvent
- type ZSetMember
- type ZSetObjectEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuxFieldEvent ¶
func (*AuxFieldEvent) Debug ¶
func (e *AuxFieldEvent) Debug()
type EventStreamer ¶
type EventStreamer struct {
// contains filtered or unexported fields
}
func (*EventStreamer) Err ¶
func (s *EventStreamer) Err() error
func (*EventStreamer) HasNext ¶
func (s *EventStreamer) HasNext() bool
func (*EventStreamer) Next ¶
func (s *EventStreamer) Next() *RedisRdbEvent
type HashObjectEvent ¶
func (*HashObjectEvent) Debug ¶
func (e *HashObjectEvent) Debug()
type ListObjectEvent ¶
func (*ListObjectEvent) Debug ¶
func (e *ListObjectEvent) Debug()
type MagicNumberEvent ¶
type MagicNumberEvent struct {
MagicNumber []byte
}
func (*MagicNumberEvent) Debug ¶
func (e *MagicNumberEvent) Debug()
type ModuleObjectEvent ¶
type ModuleObjectEvent struct{}
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) Parse ¶
func (p *Parser) Parse() (*EventStreamer, error)
type RedisRdbEvent ¶
type ResizeDbEvent ¶
type ResizeDbEvent struct {
// contains filtered or unexported fields
}
func (*ResizeDbEvent) Debug ¶
func (e *ResizeDbEvent) Debug()
type SelectDbEvent ¶
type SelectDbEvent struct {
Db int
}
func (*SelectDbEvent) Debug ¶
func (e *SelectDbEvent) Debug()
type SetObjectEvent ¶
func (*SetObjectEvent) Debug ¶
func (e *SetObjectEvent) Debug()
type StreamConsumer ¶
type StreamConsumer struct {
// Last time this consumer was active.
SeenTime uint64
Name string
// Consumer specific pending entries list: all the pending messages delivered to this
// consumer not yet acknowledged.
PEL []*StreamNAck
}
type StreamConsumerGroup ¶
type StreamConsumerGroup struct {
Name string
// Last delivered (not acknowledged) ID for this group.
// Consumers that will just ask for more messages will served with IDs > than this.
LastId StreamId
PEL []*StreamNAck
Consumers []*StreamConsumer
}
type StreamEntry ¶
type StreamNAck ¶
type StreamNAck struct {
Id StreamId
// Last time this message was delivered.
DeliveryTime uint64
// Number of times this message was delivered.
DeliveryCount uint64
// The consumer this message was delivered to in the last delivery.
Consumer *StreamConsumer
}
type StreamObjectEvent ¶
type StreamObjectEvent struct {
Key string
Entries []*StreamEntry
Groups []*StreamConsumerGroup
}
func (*StreamObjectEvent) Debug ¶
func (e *StreamObjectEvent) Debug()
type StringObjectEvent ¶
func (*StringObjectEvent) Debug ¶
func (e *StringObjectEvent) Debug()
type VersionEvent ¶
type VersionEvent struct {
Version int
}
func (*VersionEvent) Debug ¶
func (e *VersionEvent) Debug()
type ZSetMember ¶
type ZSetObjectEvent ¶
type ZSetObjectEvent struct {
Key string
Members []ZSetMember
}
func (*ZSetObjectEvent) Debug ¶
func (e *ZSetObjectEvent) Debug()
Click to show internal directories.
Click to hide internal directories.