All checks were successful
Docker Build and Push / build-and-push (push) Successful in 4m38s
29 lines
483 B
Go
29 lines
483 B
Go
package types
|
|
|
|
type Status string
|
|
|
|
const (
|
|
INITIALIZING Status = "INITIALIZING"
|
|
RUNNING Status = "RUNNING"
|
|
SETUP Status = "SETUP"
|
|
)
|
|
|
|
type TunnelType string
|
|
|
|
const (
|
|
HTTP TunnelType = "HTTP"
|
|
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" +
|
|
"Bad Gateway")
|