feat: kill server after n downloads

This commit is contained in:
vxclutch
2026-05-29 08:05:00 -04:00
parent 09e147f2f1
commit 230e58c286
7 changed files with 61 additions and 25 deletions

View File

@@ -2,10 +2,16 @@ package lash
import (
"embed"
"net/http"
"github.com/google/uuid"
)
type LashContext struct {
N int
Server *http.Server
}
//go:embed templates/*.html
var Templates embed.FS