Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReflectionRegistry ¶
type ReflectionRegistry struct {
RegistryFiles *protoregistry.Files
}
func InvokeServerReflection ¶
func InvokeServerReflection(endpoint string, fullMethod string) (*ReflectionRegistry, error)
func (*ReflectionRegistry) FindMethodDescriptor ¶
func (r *ReflectionRegistry) FindMethodDescriptor(fullMethod string) (protoreflect.MethodDescriptor, error)
type Response ¶
type Response struct { Header map[string][]string Body *wrap.JsonValue Error *wrap.JsonValue Status *status.Status }
func InvokeRPC ¶
func InvokeRPC(endpoint string, methodDescriptor protoreflect.MethodDescriptor, req Request) (*Response, error)
func NewResponse ¶
func NewResponse() *Response
Click to show internal directories.
Click to hide internal directories.