GrpcAttributeMapInterface
type GrpcAttributeMapInterface
The value of each protocol attribute, keyed by attribute name.
type GrpcAttributeMapInterface interface {
// Whether a value is stored under `key`.
ContainsKey(key string) bool
// Every entry, in key order.
Entries() []GrpcAttributeMapEntry
// The value stored under `key`, or `None` if there is none.
Get(key string) *string
// 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() []string
}