mirror of https://github.com/status-im/consul.git
29 lines
782 B
Go
29 lines
782 B
Go
// Code generated by protoc-gen-go-binary. DO NOT EDIT.
|
|
// source: pbmesh/v1alpha1/pbproxystate/address.proto
|
|
|
|
package pbproxystate
|
|
|
|
import (
|
|
"google.golang.org/protobuf/proto"
|
|
)
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
func (msg *HostPortAddress) MarshalBinary() ([]byte, error) {
|
|
return proto.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
func (msg *HostPortAddress) UnmarshalBinary(b []byte) error {
|
|
return proto.Unmarshal(b, msg)
|
|
}
|
|
|
|
// MarshalBinary implements encoding.BinaryMarshaler
|
|
func (msg *UnixSocketAddress) MarshalBinary() ([]byte, error) {
|
|
return proto.Marshal(msg)
|
|
}
|
|
|
|
// UnmarshalBinary implements encoding.BinaryUnmarshaler
|
|
func (msg *UnixSocketAddress) UnmarshalBinary(b []byte) error {
|
|
return proto.Unmarshal(b, msg)
|
|
}
|