Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
JNProtzman committed Jan 12, 2020
1 parent c248605 commit 546f3c3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions internal/transport/http_util.go
Expand Up @@ -222,14 +222,6 @@ func contentType(contentSubtype string) string {
return baseContentType + "+" + contentSubtype
}

func (d *decodeState) status() *status.Status {
if d.data.statusGen == nil {
// No status-details were provided; generate status using code/msg.
d.data.statusGen = status.New(codes.Code(int32(*(d.data.rawStatusCode))), d.data.rawStatusMsg)
}
return d.data.statusGen
}

const binHdrSuffix = "-bin"

func encodeBinHeader(v []byte) string {
Expand Down

0 comments on commit 546f3c3

Please sign in to comment.