Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server provides a simple HTTP health check endpoint for GCE load balancers. This runs alongside the gRPC server to provide HTTP-based health checks which are more reliable with GKE NEG configurations than HTTP/2 gRPC health checks.
func NewServer ¶
NewServer creates a new HTTP health check server. It listens on the specified port and responds to all requests with 200 OK.
Click to show internal directories.
Click to hide internal directories.