mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-12 16:44:05 -08:00
13 lines
221 B
Go
13 lines
221 B
Go
package main
|
|
|
|
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
|
|
}
|