We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b08c01 commit 4cffc3cCopy full SHA for 4cffc3c
propagation/propagation.go
@@ -32,6 +32,12 @@ type TextMapCarrier interface {
32
// MultiTextMapCarrier is a TextMapCarrier that can return multiple values for a single key.
33
type MultiTextMapCarrier interface {
34
TextMapCarrier
35
+ MultiGetter
36
+}
37
+
38
+// MultiGetter can return multiple values for a single key,
39
+// with contrast to TextMapCarrier.Get which returns a single value.
40
+type MultiGetter interface {
41
// GetAll returns all values associated with the passed key.
42
GetAll(key string) []string
43
// DO NOT CHANGE: any modification will not be backwards compatible and
0 commit comments