Upgrade go dependencies (#644)

* update pion WebRTC from v3 to v4.

* update mapstructure dependency to use go-viper version.

* update go-chi dependency to v5.
This commit is contained in:
Miroslav Šedivý
2026-04-25 15:20:43 +02:00
committed by GitHub
parent fdb0be3426
commit 2c124c506e
22 changed files with 49 additions and 131 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"net/http"
"net/http/pprof"
"github.com/go-chi/chi"
"github.com/go-chi/chi/v5"
"github.com/m1k1o/neko/server/pkg/types"
)
@@ -3,7 +3,7 @@ package message
import (
"github.com/m1k1o/neko/server/internal/http/legacy/types"
"github.com/pion/webrtc/v3"
"github.com/pion/webrtc/v4"
)
type Message struct {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"fmt"
"net/http"
"github.com/pion/webrtc/v3"
"github.com/pion/webrtc/v4"
oldEvent "github.com/m1k1o/neko/server/internal/http/legacy/event"
oldMessage "github.com/m1k1o/neko/server/internal/http/legacy/message"
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"errors"
"fmt"
"github.com/pion/webrtc/v3"
"github.com/pion/webrtc/v4"
"github.com/spf13/viper"
oldEvent "github.com/m1k1o/neko/server/internal/http/legacy/event"
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"net/http"
"time"
"github.com/go-chi/chi/middleware"
"github.com/go-chi/chi/v5/middleware"
"github.com/rs/zerolog"
"github.com/m1k1o/neko/server/pkg/types"
+2 -2
View File
@@ -3,8 +3,8 @@ package http
import (
"net/http"
"github.com/go-chi/chi"
"github.com/go-chi/chi/middleware"
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"
"github.com/go-chi/cors"
"github.com/rs/zerolog"