Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthcheckResponse ¶ added in v0.7.0
type HealthcheckResponse struct {
Status string `json:"status"`
}
type HelpResponse ¶
type HelpResponse struct {
Arguments map[string]*config.RunArgument `json:"arguments"`
}
type Predictor ¶
type Predictor struct {
// contains filtered or unexported fields
}
func NewPredictor ¶
type Request ¶ added in v0.1.0
type Request struct { // TODO: could this be Inputs? Input map[string]interface{} `json:"input"` }
type Response ¶ added in v0.1.0
type Response struct { Status status `json:"status"` Output *interface{} `json:"output"` Error string `json:"error"` }
type ValidationErrorResponse ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.