Skip to main content

GrpcFeatureFlagMapInterface

type GrpcFeatureFlagMapInterface​

The status of each protocol feature flag, keyed by flag name.

type GrpcFeatureFlagMapInterface interface {
// Whether a value is stored under `key`.
ContainsKey(key string) bool
// Every entry, in key order.
Entries() []GrpcFeatureFlagMapEntry
// The value stored under `key`, or `None` if there is none.
Get(key string) *bool
// Whether the map holds no entries.
IsEmpty() bool
// Every key, in key order.
Keys() []string
// The number of entries.
Len() uint64
// Every value, ordered by the key it is stored under.
Values() []bool
}