Skip to content

Commit

Permalink
Merge pull request #37 from castaneai/minimatch-frontend-service-grpc
Browse files Browse the repository at this point in the history
minimatch: add FrontendGRPCService for compatibility
  • Loading branch information
castaneai authored Nov 11, 2024
2 parents e00e8e3 + b6aed62 commit 04b9c5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions minimatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
Expand Down

0 comments on commit 04b9c5d

Please sign in to comment.