Add logs route, add rar handler

This commit is contained in:
Ben Sarmiento
2023-12-06 19:18:04 +01:00
parent 2a0b0fa9cd
commit 2aacff1125
19 changed files with 151 additions and 44 deletions

View File

@@ -10,15 +10,15 @@ import (
"strings"
zurghttp "github.com/debridmediamanager/zurg/pkg/http"
"go.uber.org/zap"
"github.com/debridmediamanager/zurg/pkg/logutil"
)
type RealDebrid struct {
log *zap.SugaredLogger
log *logutil.Logger
client *zurghttp.HTTPClient
}
func NewRealDebrid(client *zurghttp.HTTPClient, log *zap.SugaredLogger) *RealDebrid {
func NewRealDebrid(client *zurghttp.HTTPClient, log *logutil.Logger) *RealDebrid {
return &RealDebrid{
log: log,
client: client,