go_wireproto/test_obj_simple_resp.go

26 lines
557 B
Go
Raw Normal View History

2024-07-09 23:40:20 -04:00
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],
},
},
},
},
}
)