metadata

command
v0.0.0-...-2ebd195 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 6 Imported by: 0

README

metadata 测试

客户端发送数据,可见 gRPC 操作的数据,仅仅是 key=metadata.mdOutgoingKey 的部分:

context.Background.WithValue(type metadata.mdOutgoingKey, val <not Stringer>)
context.Background.WithValue(type metadata.mdOutgoingKey, val <not Stringer>).WithValue(type string, val value3)
context.Background.WithValue(type metadata.mdOutgoingKey, val <not Stringer>).WithValue(type string, val value3)
context.Background.WithValue(type metadata.mdOutgoingKey, val <not Stringer>).WithValue(type string, val value3).WithValue(type metadata.mdOutgoingKey, val <not Stringer>)
metadata.FromOutgoingContext(ctx)= map[app:[test] atreus-requestid:[cvalue] key2:[value2] key4:[value4] method:[normal] token:[test]]

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL