Skip to content

tiantour/header

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

header

get data from grpc-gateway header

set set to grpc-gateway header

how to use

  1. get
key := "foo"
value := header.NewRequest().Get(ctx, key)
  1. set
data := []string{"food", "bar"}
ctx = header.NewResponse().Set(ctx, data...)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages