package
0.0.0-20220929103845-2ebd1957c018
Repository: https://github.com/pandaychen/grpc-wrapper-framework.git
Documentation: pkg.go.dev

# Functions

get boolean from metadata in context use strconv.Parse.
metadata API for client.
metadata API for server.
No description provided by the author
No description provided by the author
No description provided by the author
FromContext returns the incoming metadata in ctx if it exists.
No description provided by the author
get int64 value from metadata in context.
IsIncomingKey represent this key should extract from rpc metadata.
IsOutgoingKey represent this key should propagate by rpc.
New creates an MD from a given key-value map.
给 ctx 加入 md 的 kv 传递,返回一个子 ctx.
pointer.
create mds from kv list.
get string value from metadata in context.
get value from metadata in context return nil if not found.

# Constants

metadata const key.
metadata const key.
metadata const key.
Network.
metadata const key.
metadata const key.

# Structs

No description provided by the author

# Type aliases

MD is a mapping from metadata keys to values.