mirror of https://github.com/status-im/consul.git
19 lines
460 B
Go
19 lines
460 B
Go
|
// Code generated by protoc-gen-go-binary. DO NOT EDIT.
|
||
|
// source: pbtenancy/v2beta1/partition.proto
|
||
|
|
||
|
package tenancyv2beta1
|
||
|
|
||
|
import (
|
||
|
"google.golang.org/protobuf/proto"
|
||
|
)
|
||
|
|
||
|
// MarshalBinary implements encoding.BinaryMarshaler
|
||
|
func (msg *Partition) MarshalBinary() ([]byte, error) {
|
||
|
return proto.Marshal(msg)
|
||
|
}
|
||
|
|
||
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
||
|
func (msg *Partition) UnmarshalBinary(b []byte) error {
|
||
|
return proto.Unmarshal(b, msg)
|
||
|
}
|