mirror of https://github.com/status-im/consul.git
23 lines
743 B
Go
23 lines
743 B
Go
// Code generated by protoc-json-shim. DO NOT EDIT.
|
|
package multiclusterv2
|
|
|
|
import (
|
|
protojson "google.golang.org/protobuf/encoding/protojson"
|
|
)
|
|
|
|
// MarshalJSON is a custom marshaler for ExportedServicesConsumer
|
|
func (this *ExportedServicesConsumer) MarshalJSON() ([]byte, error) {
|
|
str, err := ExportedServicesConsumerMarshaler.Marshal(this)
|
|
return []byte(str), err
|
|
}
|
|
|
|
// UnmarshalJSON is a custom unmarshaler for ExportedServicesConsumer
|
|
func (this *ExportedServicesConsumer) UnmarshalJSON(b []byte) error {
|
|
return ExportedServicesConsumerUnmarshaler.Unmarshal(b, this)
|
|
}
|
|
|
|
var (
|
|
ExportedServicesConsumerMarshaler = &protojson.MarshalOptions{}
|
|
ExportedServicesConsumerUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
|
|
)
|