Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameFacade ¶
type GameFacade interface {
CompanyExistsInIGDB(ctx context.Context, companyName string) (bool, error)
}
GameFacade defines methods for interacting game facade
type InfoService ¶
type InfoService struct {
infopb.UnimplementedInfoApiServiceServer
// contains filtered or unexported fields
}
InfoService implements the gRPC InfoService
func NewInfoService ¶
func NewInfoService(log *zap.Logger, gameFacade GameFacade) *InfoService
NewInfoService creates a new InfoService instance
func (*InfoService) CompanyExists ¶
func (s *InfoService) CompanyExists(ctx context.Context, req *pb.CompanyExistsRequest) (*pb.CompanyExistsResponse, error)
CompanyExists checks if a company with the given name exists in IGDB (case-insensitive)
Click to show internal directories.
Click to hide internal directories.