1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 11:27:06 +00:00

update dependencies

This commit is contained in:
Gerasimos (Makis) Maropoulos
2025-08-15 23:29:20 +03:00
parent de4f462198
commit a8a3afea22
186 changed files with 694 additions and 689 deletions

View File

@@ -1,6 +1,6 @@
module github.com/kataras/iris/_examples/websocket/basic
go 1.24.3
go 1.25
require (
github.com/iris-contrib/middleware/jwt v0.0.0-20250207234507-372f6828ef8c

View File

@@ -54,7 +54,7 @@ func main() {
// so the client should dial with ws://localhost:8080/echo?token=$token
Extractor: jwt.FromParameter("token"),
ValidationKeyGetter: func(token *jwt.Token) (interface{}, error) {
ValidationKeyGetter: func(token *jwt.Token) (any, error) {
return []byte("My Secret"), nil
},