Documentation
¶
Overview ¶
clientoptions is used to transfer information conveyed in a URL into a slice of grp.DialOption.
Overview ¶
More information at https://github.com/senzing-garage/go-grpcing
Examples ¶
Examples of use can be seen in https://github.com/senzing-garage/go-grpcing/blob/main/clientoptions/clientoptions_test.go
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDialOptions ¶
The GetDialOptions function returns a slice of grpc.DialOption(s) from a parsed URL.
Input
- ctx: A context to control lifecycle.
- parsedUrl: A parsed URL.
Output
- grpcDialOptions: A slice of configuration options for gRPC server/client
Example (Simple) ¶
Output: 1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.