Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteGRPCCall ¶
ExecuteGRPCCall executes a grpc call
func GetConnection ¶
func GetConnection(address string) (*grpc.ClientConn, error)
GetConnection creates and returns a grpc client connection
Types ¶
type RetryPolicy ¶
type RetryPolicy struct { // Maximum number of time a failed grpc call will be retried. Set negative value to try indefinitely. MaxAttempts int // Time delay between retries. (In milli seconds) BackOffInMilliSeconds int }
RetryPolicy holds configuration for grpc connection retries
Click to show internal directories.
Click to hide internal directories.