Versions in this module Expand all Collapse all v1 v1.0.7 Apr 28, 2022 v1.0.6 Apr 11, 2022 v1.0.5 Mar 31, 2022 v1.0.4 Mar 29, 2022 Changes in this version + var File_example_proto protoreflect.FileDescriptor + type Generalizer interface + Generalize func(obj interface{}) (interface{}, error) + GetType func(obj interface{}) (string, error) + Realize func(obj interface{}, typ reflect.Type) (interface{}, error) + func GetGsonGeneralizer() Generalizer + func GetMapGeneralizer() Generalizer + func GetProtobufJsonGeneralizer() Generalizer + type GsonGeneralizer struct + func (GsonGeneralizer) Generalize(obj interface{}) (interface{}, error) + func (GsonGeneralizer) GetType(obj interface{}) (typ string, err error) + func (GsonGeneralizer) Realize(obj interface{}, typ reflect.Type) (interface{}, error) + type MapGeneralizer struct + func (g *MapGeneralizer) Generalize(obj interface{}) (gobj interface{}, err error) + func (g *MapGeneralizer) GetType(obj interface{}) (typ string, err error) + func (g *MapGeneralizer) Realize(obj interface{}, typ reflect.Type) (interface{}, error) + type ProtobufJsonGeneralizer struct + func (g *ProtobufJsonGeneralizer) Generalize(obj interface{}) (interface{}, error) + func (g *ProtobufJsonGeneralizer) GetType(_ interface{}) (string, error) + func (g *ProtobufJsonGeneralizer) Realize(obj interface{}, typ reflect.Type) (interface{}, error) + type RequestType struct + Id int64 + func (*RequestType) Descriptor() ([]byte, []int) + func (*RequestType) ProtoMessage() + func (x *RequestType) GetId() int64 + func (x *RequestType) ProtoReflect() protoreflect.Message + func (x *RequestType) Reset() + func (x *RequestType) String() string + type ResponseType struct + Code int64 + Id int64 + Message string + Name string + func (*ResponseType) Descriptor() ([]byte, []int) + func (*ResponseType) ProtoMessage() + func (x *ResponseType) GetCode() int64 + func (x *ResponseType) GetId() int64 + func (x *ResponseType) GetMessage() string + func (x *ResponseType) GetName() string + func (x *ResponseType) ProtoReflect() protoreflect.Message + func (x *ResponseType) Reset() + func (x *ResponseType) String() string