mirror of https://github.com/prometheus/prometheus
13 lines
222 B
Go
13 lines
222 B
Go
|
package index
|
||
|
|
||
|
import (
|
||
|
"github.com/matttproud/prometheus/coding"
|
||
|
)
|
||
|
|
||
|
type MembershipIndex interface {
|
||
|
Has(key coding.Encoder) (bool, error)
|
||
|
Put(key coding.Encoder) error
|
||
|
Drop(key coding.Encoder) error
|
||
|
Close() error
|
||
|
}
|