Versions in this module Expand all Collapse all v1 v1.3.0 Dec 30, 2023 Changes in this version + var E_SensitiveMessage = &file_encoder_proto_extTypes[0] + var File_encoder_proto protoreflect.FileDescriptor + var Test_ServiceDesc = grpc.ServiceDesc + func RegisterTestServer(s grpc.ServiceRegistrar, srv TestServer) + type DefaultJSONMarshaller struct + func (DefaultJSONMarshaller) Marshal(v interface{}) ([]byte, error) + type Encoder struct + func Init(o Options, m Marshaller) Encoder + func InitWithDefaultMarshaller(o Options) Encoder + func (e Encoder) Marshal(m proto.Message) ([]byte, error) + type GetResponse struct + Field1 int32 + Field2 string + Field3 *Message1 + Field4 *Message2 + Field5 []*Message3 + Field6 *Message4 + Field7 map[string]bool + Field8 bool + func (*GetResponse) Descriptor() ([]byte, []int) + func (*GetResponse) ProtoMessage() + func (x *GetResponse) GetField1() int32 + func (x *GetResponse) GetField2() string + func (x *GetResponse) GetField3() *Message1 + func (x *GetResponse) GetField4() *Message2 + func (x *GetResponse) GetField5() []*Message3 + func (x *GetResponse) GetField6() *Message4 + func (x *GetResponse) GetField7() map[string]bool + func (x *GetResponse) GetField8() bool + func (x *GetResponse) ProtoReflect() protoreflect.Message + func (x *GetResponse) Reset() + func (x *GetResponse) String() string + type Marshaller interface + Marshal func(v interface{}) ([]byte, error) + type Message1 struct + Field1 int32 + Field2 string + func (*Message1) Descriptor() ([]byte, []int) + func (*Message1) ProtoMessage() + func (x *Message1) GetField1() int32 + func (x *Message1) GetField2() string + func (x *Message1) ProtoReflect() protoreflect.Message + func (x *Message1) Reset() + func (x *Message1) String() string + type Message2 struct + Field1 bool + Field2 string + func (*Message2) Descriptor() ([]byte, []int) + func (*Message2) ProtoMessage() + func (x *Message2) GetField1() bool + func (x *Message2) GetField2() string + func (x *Message2) ProtoReflect() protoreflect.Message + func (x *Message2) Reset() + func (x *Message2) String() string + type Message3 struct + Field1 int32 + Field2 []string + func (*Message3) Descriptor() ([]byte, []int) + func (*Message3) ProtoMessage() + func (x *Message3) GetField1() int32 + func (x *Message3) GetField2() []string + func (x *Message3) ProtoReflect() protoreflect.Message + func (x *Message3) Reset() + func (x *Message3) String() string + type Message4 struct + Field1 []*Message2 + func (*Message4) Descriptor() ([]byte, []int) + func (*Message4) ProtoMessage() + func (x *Message4) GetField1() []*Message2 + func (x *Message4) ProtoReflect() protoreflect.Message + func (x *Message4) Reset() + func (x *Message4) String() string + type Options struct + type SensitiveMessageOptions struct + Extension protoreflect.ExtensionType + HideSensitiveMessage bool + type TestClient interface + Get func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetResponse, error) + func NewTestClient(cc grpc.ClientConnInterface) TestClient + type TestServer interface + Get func(context.Context, *emptypb.Empty) (*GetResponse, error) + type UnimplementedTestServer struct + func (UnimplementedTestServer) Get(context.Context, *emptypb.Empty) (*GetResponse, error) + type UnsafeTestServer interface