open-consul/proto/pbstatus/status.pb.binary.go

19 lines
442 B
Go

// Code generated by protoc-gen-go-binary. DO NOT EDIT.
// source: proto/pbstatus/status.proto
package pbstatus
import (
"github.com/golang/protobuf/proto"
)
// MarshalBinary implements encoding.BinaryMarshaler
func (msg *Status) MarshalBinary() ([]byte, error) {
return proto.Marshal(msg)
}
// UnmarshalBinary implements encoding.BinaryUnmarshaler
func (msg *Status) UnmarshalBinary(b []byte) error {
return proto.Unmarshal(b, msg)
}