Documentation ¶ Index ¶ func Serve(ctx context.Context, port int) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Serve ¶ func Serve(ctx context.Context, port int) error Serve configures and starts the http server for the health check. It returns an error if the setup failed, or runs the server in a goroutine. Stop the server by cancelling the passed context. Types ¶ This section is empty. Source Files ¶ View all Source files healthprobe.go Click to show internal directories. Click to hide internal directories.