Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a simple client for the Lambda Extensions API
type EventType ¶
type EventType string
EventType represents the type of events recieved from /event/next
type NextEventResponse ¶
type NextEventResponse struct { EventType EventType `json:"eventType"` DeadlineMs int64 `json:"deadlineMs"` RequestID string `json:"requestId"` InvokedFunctionArn string `json:"invokedFunctionArn"` Tracing Tracing `json:"tracing"` }
NextEventResponse is the response for /event/next
type RegisterResponse ¶
type RegisterResponse struct { FunctionName string `json:"functionName"` FunctionVersion string `json:"functionVersion"` Handler string `json:"handler"` }
RegisterResponse is the body of the response for /register
Click to show internal directories.
Click to hide internal directories.