Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type QueueAdapter ¶
type QueueAdapter struct {
// contains filtered or unexported fields
}
QueueAdapter is a general storage adapter for the message brokers
func NewQueueAdapter ¶
func NewQueueAdapter(stor storage.Storage) *QueueAdapter
func (*QueueAdapter) ReadStream ¶
func (s *QueueAdapter) ReadStream(topic string) (<-chan *parser.Data, <-chan error)
type SimpleAdapter ¶
type SimpleAdapter struct {
// contains filtered or unexported fields
}
func NewSimpleAdapter ¶
func NewSimpleAdapter(stor storage.Storage) *SimpleAdapter
func (*SimpleAdapter) ReadStream ¶
func (s *SimpleAdapter) ReadStream(blocknum string) (<-chan *parser.Data, <-chan error)
Click to show internal directories.
Click to hide internal directories.