Documentation ¶
Index ¶
Constants ¶
View Source
const StatusClientClosedRequest = 499
StatusClientClosedRequest non-standard HTTP status code for client disconnection
View Source
const StatusClientClosedRequestText = "Client Closed Request"
StatusClientClosedRequestText non-standard HTTP status for client disconnection
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager The service manager
func NewManager ¶
func NewManager(configs map[string]*config.ServiceInfo, defaultRoundTripper http.RoundTripper) *Manager
NewManager creates a new Manager
func (*Manager) BuildHTTP ¶
func (m *Manager) BuildHTTP(rootCtx context.Context, serviceName string, responseModifier func(*http.Response) error) (http.Handler, error)
BuildHTTP Creates a http.Handler for a service configuration.
func (*Manager) LaunchHealthCheck ¶
func (m *Manager) LaunchHealthCheck()
LaunchHealthCheck Launches the health checks.
Click to show internal directories.
Click to hide internal directories.