Documentation
¶
Index ¶
- func ByAge(ctx context.Context, l klevdb.Log, before time.Time) (map[int64]struct{}, int64, error)
- func ByCount(ctx context.Context, l klevdb.Log, max int) (map[int64]struct{}, int64, error)
- func ByOffset(ctx context.Context, l klevdb.Log, before int64) (map[int64]struct{}, int64, error)
- func BySize(ctx context.Context, l klevdb.Log, sz int64) (map[int64]struct{}, int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByAge ¶
ByAge tries to remove the messages at the start of the log before given time returns the offsets it deleted and the amount of storage freed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.