grpc

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL