mirror of https://github.com/hashicorp/consul
29 lines
767 B
Go
29 lines
767 B
Go
|
// Code generated by protoc-gen-go-binary. DO NOT EDIT.
|
||
|
// source: pbcatalog/v2beta1/service_endpoints.proto
|
||
|
|
||
|
package catalogv2beta1
|
||
|
|
||
|
import (
|
||
|
"google.golang.org/protobuf/proto"
|
||
|
)
|
||
|
|
||
|
// MarshalBinary implements encoding.BinaryMarshaler
|
||
|
func (msg *ServiceEndpoints) MarshalBinary() ([]byte, error) {
|
||
|
return proto.Marshal(msg)
|
||
|
}
|
||
|
|
||
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
||
|
func (msg *ServiceEndpoints) UnmarshalBinary(b []byte) error {
|
||
|
return proto.Unmarshal(b, msg)
|
||
|
}
|
||
|
|
||
|
// MarshalBinary implements encoding.BinaryMarshaler
|
||
|
func (msg *Endpoint) MarshalBinary() ([]byte, error) {
|
||
|
return proto.Marshal(msg)
|
||
|
}
|
||
|
|
||
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
||
|
func (msg *Endpoint) UnmarshalBinary(b []byte) error {
|
||
|
return proto.Unmarshal(b, msg)
|
||
|
}
|