Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitMetrics ¶
func InitMetrics(registry *prometheus.Registry)
InitMetrics registers all metrics in this file
Types ¶
type Batch ¶
type Batch interface {
Put(key, value []byte)
Delete(key []byte)
Commit() error
Count() uint32
Repr() []byte
Reset()
}
A Batch is a sequence of Puts and Deletes that Commit to DB.
Click to show internal directories.
Click to hide internal directories.