mirror of
https://github.com/ultrasn0w/huso.git
synced 2025-12-14 05:49:52 +01:00
Add ring log + 429
This commit is contained in:
@@ -18,7 +18,7 @@ var (
|
||||
)
|
||||
|
||||
//line season.qtpl:2
|
||||
func StreamIndex(qw422016 *qt422016.Writer, animes []Anime) {
|
||||
func StreamIndex(qw422016 *qt422016.Writer, animes []Anime, log string) {
|
||||
//line season.qtpl:2
|
||||
qw422016.N().S(`
|
||||
`)
|
||||
@@ -47,35 +47,39 @@ func StreamIndex(qw422016 *qt422016.Writer, animes []Anime) {
|
||||
//line season.qtpl:37
|
||||
}
|
||||
//line season.qtpl:37
|
||||
qw422016.N().S(` </table> </body> </html> `)
|
||||
qw422016.N().S(` </table> <h2>Log</h2> <pre> `)
|
||||
//line season.qtpl:41
|
||||
qw422016.E().S(log)
|
||||
//line season.qtpl:41
|
||||
qw422016.N().S(` </pre> </body> </html> `)
|
||||
//line season.qtpl:45
|
||||
qw422016.N().S(`
|
||||
`)
|
||||
//line season.qtpl:42
|
||||
//line season.qtpl:46
|
||||
}
|
||||
|
||||
//line season.qtpl:42
|
||||
func WriteIndex(qq422016 qtio422016.Writer, animes []Anime) {
|
||||
//line season.qtpl:42
|
||||
//line season.qtpl:46
|
||||
func WriteIndex(qq422016 qtio422016.Writer, animes []Anime, log string) {
|
||||
//line season.qtpl:46
|
||||
qw422016 := qt422016.AcquireWriter(qq422016)
|
||||
//line season.qtpl:42
|
||||
StreamIndex(qw422016, animes)
|
||||
//line season.qtpl:42
|
||||
//line season.qtpl:46
|
||||
StreamIndex(qw422016, animes, log)
|
||||
//line season.qtpl:46
|
||||
qt422016.ReleaseWriter(qw422016)
|
||||
//line season.qtpl:42
|
||||
//line season.qtpl:46
|
||||
}
|
||||
|
||||
//line season.qtpl:42
|
||||
func Index(animes []Anime) string {
|
||||
//line season.qtpl:42
|
||||
//line season.qtpl:46
|
||||
func Index(animes []Anime, log string) string {
|
||||
//line season.qtpl:46
|
||||
qb422016 := qt422016.AcquireByteBuffer()
|
||||
//line season.qtpl:42
|
||||
WriteIndex(qb422016, animes)
|
||||
//line season.qtpl:42
|
||||
//line season.qtpl:46
|
||||
WriteIndex(qb422016, animes, log)
|
||||
//line season.qtpl:46
|
||||
qs422016 := string(qb422016.B)
|
||||
//line season.qtpl:42
|
||||
//line season.qtpl:46
|
||||
qt422016.ReleaseByteBuffer(qb422016)
|
||||
//line season.qtpl:42
|
||||
//line season.qtpl:46
|
||||
return qs422016
|
||||
//line season.qtpl:42
|
||||
//line season.qtpl:46
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user