prometheus/index.go
2012-11-25 16:07:05 +01:00

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
}