Documentation
¶
Overview ¶
Package runtime provides interfaces for defining Lambda runtimes and appropriate shims for arbitrary language support.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompiledRuntime ¶
type CompiledRuntime interface {
Compile() error
}
CompiledRuntime is a language runtime requiring compilation.
type Runtime ¶
type Runtime interface {
// Name returns the canonical runtime to be used, for example
// since Go must be run as a shim, this is "nodejs", not "golang".
Name() string
// Handler returns the handler name for the runtime in the form "<file>.<func>".
Handler() string
// Shimmed returns true if the program should be shimmed.
Shimmed() bool
}
Runtime is a language runtime.
Click to show internal directories.
Click to hide internal directories.