Delete references to json.RawMessage (#12)

This commit is contained in:
Peter Edge
2018-02-20 21:03:05 +01:00
committed by Joshua Humphries
parent 620796528e
commit ceba64b971
3 changed files with 6 additions and 8 deletions

View File

@@ -427,7 +427,7 @@ func (*handler) OnSendHeaders(md metadata.MD) {
}
}
func (h *handler) getRequestData() (json.RawMessage, error) {
func (h *handler) getRequestData() ([]byte, error) {
// we don't use a mutex, though this methods will be called from different goroutine
// than other methods for bidi calls, because this method does not share any state
// with the other methods.