feat: publish standalone worker

Separate worker packaging and service lifecycle from the control plane.
Этот коммит содержится в:
Gleb Tv
2026-07-13 17:55:14 +03:00
Коммит 2c7a0236da
309 изменённых файлов: 44004 добавлений и 0 удалений

10
internal/webapp/cteq.go Обычный файл
Просмотреть файл

@@ -0,0 +1,10 @@
package webapp
import "crypto/subtle"
// constantTimeEq is a thin wrapper around crypto/subtle.ConstantTimeCompare
// so the middleware file does not need an extra import for a single
// call.
func constantTimeEq(a, b string) int {
return subtle.ConstantTimeCompare([]byte(a), []byte(b))
}