handlers

package
v0.0.0-...-84339fa Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBatchHTTPHandler

func NewBatchHTTPHandler(mc missionctl.MissionControl, rl *resultlog.ResultLogger) http.Handler

NewBatchHTTPHandler creates an instance of the Mission Control's prediction request handler

func NewHTTPHandler

NewHTTPHandler creates an instance of the Mission Control's prediction request handler

func NewInternalAPIHandler

func NewInternalAPIHandler(serviceURLs []string) http.Handler

NewInternalAPIHandler creates an instance of the internal api handler.

It accepts a list of service URLs that Turing router will accept or access. These service URLs will be checked, to ensure they are resolvable, as part of the readiness check. This is because sometimes it can take several seconds for the URL host to be resolvable.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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