mirror of https://github.com/grpc/grpc-go.git
correct spelling error for the word suffix
This commit is contained in:
parent
c2983be903
commit
e80eaf12f2
|
|
@ -53,8 +53,8 @@ This happens for both `New` and `Pairs`.
|
||||||
### Storing binary data in metadata
|
### Storing binary data in metadata
|
||||||
|
|
||||||
In metadata, keys are always strings. But values can be strings or binary data.
|
In metadata, keys are always strings. But values can be strings or binary data.
|
||||||
To store binary data value in metadata, simply add "-bin" surfix to the key.
|
To store binary data value in metadata, simply add "-bin" suffix to the key.
|
||||||
The values with "-bin" surffixed keys will be encoded when creating the metadata:
|
The values with "-bin" suffixed keys will be encoded when creating the metadata:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
md := metadata.Pairs(
|
md := metadata.Pairs(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue