Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallRpcMethod ¶
func CallRpcMethod(ctx context.Context, client interface{}, methodName string, req interface{}) (interface{}, error)
Calls a grpc method by its name. Returns the response in generic form. client: The grpc client to use methodName: The name of the method to call req: The request casted to generic interface{} returns the response casted to generic interface{} and error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.