2020-08-28 23:23:40 +00:00
|
|
|
// Code generated by protoc-gen-go-binary. DO NOT EDIT.
|
2023-02-17 21:14:46 +00:00
|
|
|
// source: simple.proto
|
2020-08-28 23:23:40 +00:00
|
|
|
|
|
|
|
package testservice
|
|
|
|
|
|
|
|
import (
|
2023-01-11 14:39:10 +00:00
|
|
|
"google.golang.org/protobuf/proto"
|
2020-08-28 23:23:40 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
|
|
func (msg *Req) MarshalBinary() ([]byte, error) {
|
|
|
|
return proto.Marshal(msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
|
|
func (msg *Req) UnmarshalBinary(b []byte) error {
|
|
|
|
return proto.Unmarshal(b, msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
|
|
func (msg *Resp) MarshalBinary() ([]byte, error) {
|
|
|
|
return proto.Marshal(msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
|
|
func (msg *Resp) UnmarshalBinary(b []byte) error {
|
|
|
|
return proto.Unmarshal(b, msg)
|
|
|
|
}
|