consul/proto-public/pbresource/annotations.pb.binary.go

19 lines
465 B
Go
Raw Permalink Normal View History

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