Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
type Handlers interface { HealthCheck(w http.ResponseWriter, r *http.Request) RunHeuristic(w http.ResponseWriter, r *http.Request) ServeHTTP(w http.ResponseWriter, r *http.Request) }
type PessimismHandler ¶
type PessimismHandler struct {
// contains filtered or unexported fields
}
PessimismHandler ... Server handler logic
func (*PessimismHandler) HealthCheck ¶
func (ph *PessimismHandler) HealthCheck(w http.ResponseWriter, r *http.Request)
HealthCheck ... Handle health check
func (*PessimismHandler) RunHeuristic ¶ added in v1.0.0
func (ph *PessimismHandler) RunHeuristic(w http.ResponseWriter, r *http.Request)
RunHeuristic ... Handle heuristic run request
func (*PessimismHandler) ServeHTTP ¶
func (ph *PessimismHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP ... Serves a http request given a response builder and request
Click to show internal directories.
Click to hide internal directories.