Standard library / net/http
http.StatusGatewayTimeout
HTTP status 504. A gateway did not receive an upstream response in time. Expected stdout: '504\n'.
Formal Syntax & Structure
go syntaxgo
const StatusGatewayTimeout = 504Working Example
Example Snippetgo
package main
import ( "fmt" "net/http")
func main() { fmt.Println(http.StatusGatewayTimeout) }
func must[T any](v T, e error) T { if e != nil { panic(e) } return v}func check(e error) { if e != nil { panic(e) }}