prometheus/index.go

13 lines
221 B
Go
Raw Normal View History

2012-11-24 03:33:34 -08:00
package main
import (
"github.com/matttproud/prometheus/coding"
)
2012-11-24 03:33:34 -08:00
type MembershipIndex interface {
Has(key coding.Encoder) (bool, error)
Put(key coding.Encoder) error
Drop(key coding.Encoder) error
2012-11-24 03:33:34 -08:00
Close() error
}