Documentation
¶
Index ¶
- type DBDriver
- func (d *DBDriver) AddMessageToTopic(topic string, data []byte) error
- func (d *DBDriver) Close()
- func (d *DBDriver) CreateTopic(topic string) error
- func (d *DBDriver) Debug()
- func (d *DBDriver) Debug2()
- func (d *DBDriver) DeleteMessagesUntilOffset(topic string, offset int64) error
- func (d *DBDriver) DeleteTopic(topic string) error
- func (d *DBDriver) GetEarliestMessageFromTopic(topic string) ([]byte, int64, error)
- func (d *DBDriver) GetEarliestOffset(topic string) (int64, error)
- func (d *DBDriver) GetLatestMessageFromTopic(topic string) ([]byte, int64, error)
- func (d *DBDriver) GetLatestOffset(topic string) (int64, error)
- func (d *DBDriver) GetMessageAtOffset(topic string, offset int64) ([]byte, error)
- type Topic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBDriver ¶
type DBDriver struct {
// contains filtered or unexported fields
}
func NewDBDriver ¶
func (*DBDriver) AddMessageToTopic ¶
func (*DBDriver) CreateTopic ¶
func (*DBDriver) DeleteMessagesUntilOffset ¶
func (*DBDriver) DeleteTopic ¶
func (*DBDriver) GetEarliestMessageFromTopic ¶
func (*DBDriver) GetEarliestOffset ¶
func (*DBDriver) GetLatestMessageFromTopic ¶
Click to show internal directories.
Click to hide internal directories.