v1.0.0
Initial release.
This commit is contained in:
26
test_obj_simple_req.go
Normal file
26
test_obj_simple_req.go
Normal 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"),
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user