rawMessage is a protocol buffer type that is already serialised. This allows the remote_api code here to handle messages without having to know the real type.
| 122 | // This allows the remote_api code here to handle messages |
| 123 | // without having to know the real type. |
| 124 | type rawMessage struct { |
| 125 | buf []byte |
| 126 | } |
| 127 | |
| 128 | func (rm *rawMessage) Marshal() ([]byte, error) { |
| 129 | return rm.buf, nil |
nothing calls this directly
no outgoing calls
no test coverage detected