(data []byte)
| 60 | } |
| 61 | |
| 62 | func (r *Remote) UnmarshalJSON(data []byte) error { |
| 63 | re := remote{} |
| 64 | if err := json.Unmarshal(data, &re); err != nil { |
| 65 | return err |
| 66 | } |
| 67 | |
| 68 | r.FragmentKey = MakeFragmentKey(re.QueryID, re.FragmentID) |
| 69 | r.FragmentAddr = re.FragmentAddr |
| 70 | return nil |
| 71 | } |
nothing calls this directly
no test coverage detected