metadata as KeyValue type
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -109,7 +109,7 @@ func client() error {
|
||||
}
|
||||
|
||||
ctx := context.Background()
|
||||
md := ttrpc.Metadata{}
|
||||
md := ttrpc.MD{}
|
||||
md.Set("name", "koye")
|
||||
ctx = ttrpc.WithMetadata(ctx, md)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user