Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Warm indicates if the Lambda is warm Warm = false // LastAccess indicates the last Lambda access LastAccess = time.Time{} )
Functions ¶
Types ¶
type Config ¶
type Config struct {
CorrelationID string
}
Config defines Lambda warmer configurations
type Event ¶
type Event struct {
Warmer bool `json:"warmer"`
Concurrency int `json:"concurrency"`
WarmerInvocation int `json:"warmerinvocation"`
WarmerConcurrency int `json:"warmerConcurrency"`
CorrelationID string `json:"correlationId"`
}
Event defines Lambda warmer event
type Log ¶
type Log struct {
Action string `json:"action"`
Function string `json:"function"`
CorrelationID string `json:"correlationId"`
Count int `json:"count"`
Concurrency int `json:"concurrency"`
Warm bool `json:"warm"`
LastAccessed time.Time `json:"lastAccessed"`
LastAccessedInSeconds float64 `json:"lastAccessedInSeconds"`
}
Log defines log message
Click to show internal directories.
Click to hide internal directories.