Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInLambda ¶ added in v1.0.2
func IsInLambda() bool
Returns true if the function is running in a lambda environment.
func SwitchingListenAndServe ¶
A function that runs a router in a lambda environment or a local server depending on whether the function is running in a lambda environment or not. The port argument is ignored if the function is running in a lambda environment.
Types ¶
Click to show internal directories.
Click to hide internal directories.