Documentation
¶
Index ¶
Constants ¶
View Source
const FunctionAddress = ":8080"
View Source
const MetricsAddress = ":8081"
Variables ¶
View Source
var (
FunctionName string
)
Functions ¶
func NewResponseWriter ¶
func NewResponseWriter(w http.ResponseWriter) *responseWriter
func Serve
deprecated
func Serve(name string, functionHandler http.HandlerFunc)
Serve is a helper function to start a server with a single function handler
Deprecated: Use ServeFunction instead
func ServeFunction ¶ added in v1.0.5
func ServeFunction(name string, functionHandler http.HandlerFunc)
ServeFunction starts a server with a single handler function
func ServeRouter ¶ added in v1.0.5
ServeRouter starts a server with a set of routes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.