2022-09-30 04:16:23 +00:00
|
|
|
// Code generated by protoc-gen-go-binary. DO NOT EDIT.
|
2023-02-17 21:14:46 +00:00
|
|
|
// source: pbdns/dns.proto
|
2022-09-30 04:16:23 +00:00
|
|
|
|
|
|
|
package pbdns
|
|
|
|
|
|
|
|
import (
|
2023-01-06 16:30:54 +00:00
|
|
|
"google.golang.org/protobuf/proto"
|
2022-09-30 04:16:23 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
|
|
func (msg *QueryRequest) MarshalBinary() ([]byte, error) {
|
|
|
|
return proto.Marshal(msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
|
|
func (msg *QueryRequest) UnmarshalBinary(b []byte) error {
|
|
|
|
return proto.Unmarshal(b, msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
|
|
func (msg *QueryResponse) MarshalBinary() ([]byte, error) {
|
|
|
|
return proto.Marshal(msg)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
|
|
func (msg *QueryResponse) UnmarshalBinary(b []byte) error {
|
|
|
|
return proto.Unmarshal(b, msg)
|
|
|
|
}
|