package handler

import (
	"net/http"

	v1 "github.com/AlchemyTelcoSolutions/callisto-so-bff/api/v1"
	"github.com/AlchemyTelcoSolutions/callisto-so-bff/cmd/app/clients"
	"github.com/AlchemyTelcoSolutions/callisto-so-bff/cmd/app/config"
	"github.com/AlchemyTelcoSolutions/xutils-go/xlogger"
	"google.golang.org/grpc"
)

// Config are the services used in the heclthchech
type Config struct {
	Logger               xlogger.Logger
	Server               ServerInterface
	CallistoSOGrpcClient *grpc.ClientConn
	CallistAPIClient     clients.HTTPProxyClientInterface
	Configurations       config.AppConfig
}

type ServerInterface interface {
	v1.ServerInterface
	ForwarRequest(http.ResponseWriter, *http.Request, string)
}
