We implemented a SendResponse function that sends an AmqpResponse containing the status and message back to the client, indicating whether the request was processed successfully.
Scope of Impact
presentation/log.go
presentation/log_test.go
Particular points to check
Is the way I've written the patch portion of the test using gomonkey appropriate?
Is the implementation for returning the status code in the RPC response suitable in its current form?
Issue Number
20
Implementation Summary
We implemented a
SendResponse
function that sends anAmqpResponse
containing the status and message back to the client, indicating whether the request was processed successfully.Scope of Impact
Particular points to check
gomonkey
appropriate?RPC
response suitable in its current form?fmt.Sprintf
orerror.New
?Test
test coverage