{"modulePath":"github.com/GoogleCloudPlatform/cloudsql-proxy","version":"v1.38.6","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package healthcheck\n\nPackage healthcheck tests and communicates the health of the Cloud SQL Auth proxy.\n\n## Types\n\n```go\ntype Server struct {\n\t// contains filtered or unexported fields\n}\n```\nServer is a type used to implement health checks for the proxy.\n\n```go\nfunc NewServer(c *proxy.Client, port string, staticInst []string) (*Server, error)\n```\nNewServer initializes a Server and exposes HTTP endpoints used to communicate proxy health.\n\n```go\nfunc (s *Server) Close(ctx context.Context) error\n```\nClose gracefully shuts down the HTTP server belonging to the Server.\n\n```go\nfunc (s *Server) NotifyStarted()\n```\nNotifyStarted tells the Server that the proxy has finished startup.\n\n","path":"github.com/GoogleCloudPlatform/cloudsql-proxy/cmd/cloud_sql_proxy/internal/healthcheck","name":"healthcheck","synopsis":"Package healthcheck tests and communicates the health of the Cloud SQL Auth proxy.","isRedistributable":true}
