Grpc_discovery.Connection_configThe client side of the discovery answers the question: "Where is the service running?"
The intended usage for this library is to add param to you command line parameters, and resolve the t using sockaddr in the body of your client command.
type t = | Tcp of {host : [ `Localhost | `Ipaddr of Eio.Net.Ipaddr.v4v6 ];port : Base.int;}| Unix of {path : Fpath.t;}| Discovery_file of {path : Fpath.t;}include Ppx_compare_lib.Equal.S with type t := tval sexp_of_t : t -> Sexplib0.Sexp.tval param : t Command.Param.tval sockaddr :
t ->
env:< fs : [> Eio.Fs.dir_ty ] Eio.Path.t.. > ->
Eio.Net.Sockaddr.stream Base.Or_error.tval to_params : t -> Base.string Base.list