Initial release.
This commit is contained in:
brent saner
2024-07-09 23:40:20 -04:00
parent 7ce62f8107
commit d4bb259b83
27 changed files with 4673 additions and 12 deletions

26
test_obj_simple_req.go Normal file
View File

@@ -0,0 +1,26 @@
package wireproto
var (
// REQUEST (Simple)
testSimpleReq *Request = &Request{
ProtocolVersion: ProtoVersion,
RecordGroups: []*RequestRecordGroup{
&RequestRecordGroup{
Records: []*RequestRecord{
&RequestRecord{
Pairs: []*FieldValuePair{
&FieldValuePair{
Name: []byte("field1"),
Value: []byte("value1"),
},
&FieldValuePair{
Name: []byte("field2"),
Value: []byte("value2"),
},
},
},
},
},
},
}
)