NewGRPCConnector creates a new grpc connector for the given client factory and socket file, using the default socket dialer.
(socket string, factory func(grpc.ClientConnInterface) TClient)
| 154 | |
| 155 | // NewGRPCConnector creates a new grpc connector for the given client factory and socket file, using the default socket dialer. |
| 156 | func NewGRPCConnector[TClient GRPCClient](socket string, factory func(grpc.ClientConnInterface) TClient) *GRPCConnector[TClient] { |
| 157 | return NewGRPCConnectorWithDialer(socketDialer(socket), factory) |
| 158 | } |