feat: add droping conn command
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 4m38s

This commit is contained in:
2025-12-07 15:26:37 +07:00
parent 8c8fdf251d
commit ba5f702e36
4 changed files with 193 additions and 163 deletions

View File

@ -15,6 +15,13 @@ const (
TCP TunnelType = "TCP"
)
type InteractionType string
const (
Slug InteractionType = "SLUG"
Drop InteractionType = "DROP"
)
var BadGatewayResponse = []byte("HTTP/1.1 502 Bad Gateway\r\n" +
"Content-Length: 11\r\n" +
"Content-Type: text/plain\r\n\r\n" +