statejson

package
v0.0.0-...-bef5c4b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"`
}

type StateDescription

type StateDescription struct {
	Name         string    `json:"name"`
	LastModified time.Time `json:"lastModified"`
	ResponseTime time.Time `json:"responseTime"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL