prometheus/index.go

9 lines
145 B
Go

package main
type MembershipIndex interface {
Has(key Encoder) (bool, error)
Put(key Encoder) error
Drop(key Encoder) error
Close() error
}