From b6aed62ba5b1dc382ae09356f4b08c6079a18a55 Mon Sep 17 00:00:00 2001 From: castaneai Date: Mon, 11 Nov 2024 18:17:32 +0900 Subject: [PATCH] minimatch: add FrontendGRPCService for compatibility --- minimatch.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/minimatch.go b/minimatch.go index 5c0ef27..7318362 100644 --- a/minimatch.go +++ b/minimatch.go @@ -63,6 +63,10 @@ func (m *MiniMatch) FrontendService() openmatchconnect.FrontendServiceHandler { return NewFrontendService(m.frontendStore) } +func (m *MiniMatch) FrontendGRPCService() pb.FrontendServiceServer { + return NewFrontendGPRCService(m.frontendStore) +} + func (m *MiniMatch) StartFrontend(listenAddr string) error { mux := http.NewServeMux() mux.Handle(openmatchconnect.NewFrontendServiceHandler(m.FrontendService()))