BenLubar/dfhackrpc

View on GitHub
protocol.go

Summary

Maintainability
A
0 mins
Test Coverage

Method Client.readResponse has 5 return statements (exceeds 4 allowed).
Wontfix

func (c *Client) readResponse(v proto.Message) (CommandResult, error) {
    for {
        var header rpcMessageHeader
        if err := binary.Read(c.conn, binary.LittleEndian, &header); err != nil {
            c.bad = true
Severity: Major
Found in protocol.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status