d4bb259b83
Initial release.
26 lines
557 B
Go
26 lines
557 B
Go
package wireproto
|
|
|
|
var (
|
|
// RESPONSE (Simple)
|
|
testSimpleResp *Response = &Response{
|
|
Status: AsciiACK,
|
|
Checksum: 3472688928, // 0xcefd0720
|
|
ProtocolVersion: ProtoVersion,
|
|
RecordGroups: []*ResponseRecordGroup{
|
|
&ResponseRecordGroup{
|
|
Records: []*ResponseRecord{
|
|
&ResponseRecord{
|
|
Pairs: []*FieldValuePair{
|
|
&FieldValuePair{
|
|
Name: []byte("data1"),
|
|
Value: []byte("<arbitrary data>"),
|
|
},
|
|
},
|
|
OriginalRecord: testSimpleReq.RecordGroups[0].Records[0],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
)
|