(code errCode, format string, v ...interface{})
| 48 | ) |
| 49 | |
| 50 | func errResp(code errCode, format string, v ...interface{}) error { |
| 51 | return fmt.Errorf("%v - %v", code, fmt.Sprintf(format, v...)) |
| 52 | } |
| 53 | |
| 54 | type ProtocolManager struct { |
| 55 | networkID uint64 |
no outgoing calls