Documentation
¶
Index ¶
- type Bolt
- func (b *Bolt) AckMessage(ctx context.Context, commandID uint64, message *model.Message, ...) error
- func (b *Bolt) AppendMessage(ctx context.Context, commandID uint64, message *model.Message) error
- func (b *Bolt) Close(context.Context) error
- func (b *Bolt) LastAppliedCommandID(ctx context.Context, partitions []string) (uint64, error)
- func (b *Bolt) LastMessageID(ctx context.Context, partitionKey string) ([]byte, error)
- func (b *Bolt) MessageAtIndex(ctx context.Context, partition *model.Partition, messageID []byte) (*model.Message, error)
- func (b *Bolt) NextUnAckedMessageID(ctx context.Context, partition *model.Partition, group *model.ConsumerGroup) ([]byte, error)
- func (b *Bolt) RecoverFromSnapshot(ctx context.Context, r io.Reader) error
- func (b *Bolt) Snapshot(ctx context.Context, w io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bolt ¶
type Bolt struct {
PartitionsPath string
// contains filtered or unexported fields
}
func (*Bolt) AckMessage ¶
func (*Bolt) AppendMessage ¶
func (*Bolt) LastAppliedCommandID ¶
func (*Bolt) LastMessageID ¶
func (*Bolt) MessageAtIndex ¶
func (*Bolt) NextUnAckedMessageID ¶
func (*Bolt) RecoverFromSnapshot ¶
Click to show internal directories.
Click to hide internal directories.