package clients

import (
	"context"

	commonDomain "github.com/AlchemyTelcoSolutions/utils/service/domain"
	"google.golang.org/grpc"
)

// GetCallistoSOGrpcClient returns a grpc client connection for the callisto-so Server
func InitCallistoSOGrpcClient(ctx context.Context, host string) (*grpc.ClientConn, error) {
	gc, err := initGRPCDial(ctx, host)
	if err != nil {
		return nil, commonDomain.Wrap(err, "init grpc dial failed")
	}
	return gc, nil
}
