Documentation
¶
Index ¶
Constants ¶
View Source
const ( ResponseModeBuffered = "Buffered" ResponseModeStreaming = "Streaming" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtensionDescription ¶
type ExtensionDescription struct {
Name string `json:"name"`
ID string
State StateDescription `json:"state"`
ErrorType string `json:"errorType"`
}
type InternalStateDescription ¶
type InternalStateDescription struct {
Runtime *RuntimeDescription `json:"runtime"`
Extensions []ExtensionDescription `json:"extensions"`
FirstFatalError string `json:"firstFatalError"`
}
func (*InternalStateDescription) AsJSON ¶
func (s *InternalStateDescription) AsJSON() []byte
type InvokeResponseMode ¶
type InvokeResponseMode string
const ( InvokeResponseModeBuffered InvokeResponseMode = ResponseModeBuffered InvokeResponseModeStreaming InvokeResponseMode = ResponseModeStreaming )
type ResponseMetrics ¶
type ResponseMetrics struct {
RuntimeResponseLatencyMs float64 `json:"runtimeResponseLatencyMs"`
Dimensions ResponseMetricsDimensions `json:"dimensions"`
}
type ResponseMetricsDimensions ¶
type ResponseMetricsDimensions struct {
InvokeResponseMode InvokeResponseMode `json:"invokeResponseMode"`
}
type ResponseMode ¶
type ResponseMode string
type RuntimeDescription ¶
type RuntimeDescription struct {
State StateDescription `json:"state"`
}
Click to show internal directories.
Click to hide internal directories.