NewGRPCStateStore creates a new grpc state store using the given socket factory.
(l logger.Logger, socket string)
| 640 | |
| 641 | // NewGRPCStateStore creates a new grpc state store using the given socket factory. |
| 642 | func NewGRPCStateStore(l logger.Logger, socket string) *grpcStateStore { |
| 643 | return fromConnector(l, pluggable.NewGRPCConnector(socket, newStateStoreClient)) |
| 644 | } |
| 645 | |
| 646 | // newGRPCStateStore creates a new state store for the given pluggable component. |
| 647 | func newGRPCStateStore(dialer pluggable.GRPCConnectionDialer) func(l logger.Logger) state.Store { |
nothing calls this directly
no test coverage detected