This commit is contained in:
Viacheslav Evseev
2024-02-22 05:59:15 +03:00
6 changed files with 25 additions and 6 deletions

View File

@@ -475,6 +475,13 @@ const docTemplate = `{
"name": "poster",
"in": "query",
"required": true
},
{
"type": "string",
"description": "Stream / playlist without authentication",
"name": "not_auth",
"in": "query",
"required": true
}
],
"responses": {

View File

@@ -468,6 +468,13 @@
"name": "poster",
"in": "query",
"required": true
},
{
"type": "string",
"description": "Stream / playlist without authentication",
"name": "not_auth",
"in": "query",
"required": true
}
],
"responses": {

View File

@@ -606,6 +606,11 @@ paths:
name: poster
required: true
type: string
- description: Stream / playlist without authentication
in: query
name: poster
required: true
type: string
produces:
- application/octet-stream
responses:

View File

@@ -2,7 +2,7 @@ module server
go 1.20
replace github.com/anacrolix/torrent v1.54.1 => github.com/tsynik/torrent v1.2.13
replace github.com/anacrolix/torrent v1.54.1 => github.com/tsynik/torrent v1.2.14
require (
github.com/agnivade/levenshtein v1.1.1

View File

@@ -332,8 +332,8 @@ github.com/swaggo/swag v1.16.3/go.mod h1:DImHIuOFXKpMFAQjcC7FG4m3Dg4+QuUgUzJmKjI
github.com/tinylib/msgp v1.0.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE=
github.com/tinylib/msgp v1.1.0/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE=
github.com/tinylib/msgp v1.1.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE=
github.com/tsynik/torrent v1.2.13 h1:PyOTz6dpzsoIT0IhiEmg6H5VD+mFqF93Q2L9iFyqPtQ=
github.com/tsynik/torrent v1.2.13/go.mod h1:NDxg14AwVqi3PWt1oStYLnyUxHYHX3qGKBAZVh/6Jk8=
github.com/tsynik/torrent v1.2.14 h1:1KdjnSTzVpyCwCNcdgQ/uCFJN59OGK3MxefcegXDBzc=
github.com/tsynik/torrent v1.2.14/go.mod h1:nw/6nj2Zy0/p7AgzUsfpK7WOexDeo1bArDLjeBq1u70=
github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI=
github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08=
github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw=