{"modulePath":"github.com/goplugin/plugin-common","version":"v0.5.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package ocr3\n\n## Constants\n\n```go\nconst PluginServiceName = \"ocr3-plugin-service\"\n```\n\n## Functions\n\n```go\nfunc NewLOOPPServiceValidation(\n\tlggr logger.Logger,\n\tgrpcOpts loop.GRPCOpts,\n\tcmd func() *exec.Cmd,\n) *reportingplugins.LOOPPServiceValidation\n```\n\n## Types\n\n```go\ntype GRPCService[T types.PluginProvider] struct {\n\tplugin.NetRPCUnsupportedPlugin\n\n\tloop.BrokerConfig\n\n\tPluginServer ProviderServer[T]\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (g *GRPCService[T]) ClientConfig() *plugin.ClientConfig\n```\n\n```go\nfunc (g *GRPCService[T]) GRPCClient(_ context.Context, broker *plugin.GRPCBroker, conn *grpc.ClientConn) (interface{}, error)\n```\n\n```go\nfunc (g *GRPCService[T]) GRPCServer(broker *plugin.GRPCBroker, server *grpc.Server) error\n```\n\n```go\ntype LOOPPService struct {\n\tgoplugin.PluginService[*GRPCService[types.PluginProvider], core.OCR3ReportingPluginFactory]\n}\n```\n\n```go\nfunc NewLOOPPService(\n\tlggr logger.Logger,\n\tgrpcOpts loop.GRPCOpts,\n\tcmd func() *exec.Cmd,\n\tconfig core.ReportingPluginServiceConfig,\n\tproviderConn grpc.ClientConnInterface,\n\tpipelineRunner core.PipelineRunnerService,\n\ttelemetryService core.TelemetryService,\n\terrorLog core.ErrorLog,\n\tcapRegistry core.CapabilitiesRegistry,\n\tkeyValueStore core.KeyValueStore,\n\trelayerSet core.RelayerSet,\n) *LOOPPService\n```\n\n```go\nfunc (g *LOOPPService) NewReportingPlugin(config ocr3types.ReportingPluginConfig) (ocr3types.ReportingPlugin[[]byte], ocr3types.ReportingPluginInfo, error)\n```\n\n```go\ntype ProviderServer[T types.PluginProvider] interface {\n\tcore.OCR3ReportingPluginServer[T]\n\tConnToProvider(conn grpc.ClientConnInterface, broker net.Broker, brokerConfig loop.BrokerConfig) T\n}\n```\n\n```go\ntype ValidateConfigService interface {\n\tNewValidationService(ctx context.Context) (core.ValidationService, error)\n}\n```\n\n","path":"github.com/goplugin/plugin-common/pkg/loop/reportingplugins/ocr3","name":"ocr3","synopsis":"","isRedistributable":true}
