Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct { Queries []interface{} Path string // contains filtered or unexported fields }
type BatchSubscriber ¶
type BatchSubscriber struct {
// contains filtered or unexported fields
}
type PredictionRequestBatcher ¶
type PredictionRequestBatcher struct { sync.Mutex MaxBatchSize int MaxLatency time.Duration IdleTimeout time.Duration // contains filtered or unexported fields }
func (*PredictionRequestBatcher) ServeHTTP ¶
func (b *PredictionRequestBatcher) ServeHTTP(w http.ResponseWriter, r *http.Request)
type PredictionResponse ¶
type PredictionResponse struct { Metrics interface{} `json:"metrics"` Predictions []interface{} `json:"predictions"` }
Click to show internal directories.
Click to hide internal directories.