Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResponseFunc ¶
func ResponseFunc(data interface{}) (ret []response.AlgoResponse, err error)
Types ¶
type ISeldonRequest ¶
type ISeldonRequest interface { Invoke(requestData interface{}) (body interface{}, err error) GetResponseFunc() response.ResponseFunc }
type PredictRequest ¶
type PredictRequest struct {
ReqJsonData ReqJsonData `json:"jsonData"`
}
type PredictResponse ¶
type PredictResponse struct {
JsonData JsonData `json:"jsonData"`
}
type ReqJsonData ¶
type ReqJsonData struct {
Inputs map[string][]interface{} `json:"inputs"`
}
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
func (*Request) GetResponseFunc ¶
func (r *Request) GetResponseFunc() response.ResponseFunc
func (*Request) SetResponseFunc ¶
type Response ¶
type Response struct {
// contains filtered or unexported fields
}
func (*Response) GetModuleType ¶
func (*Response) GetScoreMap ¶
Click to show internal directories.
Click to hide internal directories.