d4bb259b83
Initial release.
27 lines
502 B
Go
27 lines
502 B
Go
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"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
)
|