[GODRIVER-1059] Add method to validate any wire message Created: 14/May/19 Updated: 24/Jul/20 Resolved: 24/Jul/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Core API |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The old wiremessage package had a method on each wiremessage.WireMessage implementation that handled validation for that wire message. Since the new design is simpler, with the wiremessage.WireMessage type being a []byte, add a Validate method to that that will ensure the wiremessage.WireMessage is valid. |