go_wireproto/test_obj_multi_req.go
brent saner d4bb259b83
v1.0.0
Initial release.
2024-07-10 00:18:54 -04:00

67 lines
1.4 KiB
Go

package wireproto
var (
// REQUEST (Complex)
testMultiReq *Request = &Request{
ProtocolVersion: ProtoVersion,
RecordGroups: []*RequestRecordGroup{
&RequestRecordGroup{
Records: []*RequestRecord{
&RequestRecord{
Pairs: []*FieldValuePair{
&FieldValuePair{
Name: []byte("fieldA1A"),
Value: []byte("valueA1A"),
},
&FieldValuePair{
Name: []byte("fieldA1B"),
Value: []byte("valueA1B"),
},
},
},
&RequestRecord{
Pairs: []*FieldValuePair{
&FieldValuePair{
Name: []byte("fieldA2A"),
Value: []byte("valueA2A"),
},
&FieldValuePair{
Name: []byte("fieldA2B"),
Value: []byte("valueA2B"),
},
},
},
},
},
&RequestRecordGroup{
Records: []*RequestRecord{
&RequestRecord{
Pairs: []*FieldValuePair{
&FieldValuePair{
Name: []byte("fieldB1A"),
Value: []byte("valueB1A"),
},
&FieldValuePair{
Name: []byte("fieldB1B"),
Value: []byte("valueB1B"),
},
},
},
&RequestRecord{
Pairs: []*FieldValuePair{
&FieldValuePair{
Name: []byte("fieldB2A"),
Value: []byte("valueB2A"),
},
&FieldValuePair{
Name: []byte("fieldB2B"),
Value: []byte("valueB2B"),
},
},
},
},
},
},
}
)