httpserver

package
v0.0.0-...-cbea63e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2021 License: Apache-2.0, MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

View Source
const (
	IntialBackoff    = 5 * time.Second
	BackoffIncrement = 5 * time.Second
	MaxBackoff       = 60 * time.Second
)
View Source
const HealthCheckId = "com.hailocab.service.config.httpconnect"

Variables

This section is empty.

Functions

func HttpConnectHealthCheck

func HttpConnectHealthCheck() healthcheck.Checker

HealthCheck asserts that the port has been bound

func Serve

func Serve(name, source string, version uint64)

Server establishes a listener for serving compiled config for HTTP

func SetConnectHealthCheck

func SetConnectHealthCheck(err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL