Documentation ¶
Index ¶
- func BenchmarkRequest(b *testing.B, version int16, msg protocol.Message)
- func BenchmarkResponse(b *testing.B, version int16, msg protocol.Message)
- func Bytes(b []byte) protocol.Bytes
- func String(s string) protocol.Bytes
- func TestRequest(t *testing.T, version int16, msg protocol.Message)
- func TestRequestWithOverride(t *testing.T, version int16, msg protocol.Message)
- func TestResponse(t *testing.T, version int16, msg protocol.Message)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestRequestWithOverride ¶
TestRequestWithOverride validates requests that have an overridden type. For requests with type overrides, we double-serialize the request to ensure the resulting encoding of the overridden and original type are identical.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.