package
1.101.9
Repository: https://github.com/vonage/gosrvlib.git
Documentation: pkg.go.dev

# Functions

DefaultIndexHandler returns the route index in JSendX format.
DefaultIPHandler returns the route ip in JSendX format.
DefaultMethodNotAllowedHandlerFunc http handler called when a request cannot be routed.
DefaultNotFoundHandlerFunc http handler called when no matching route is found.
DefaultPanicHandlerFunc http handler to handle panics recovered from http handlers.
DefaultPingHandler returns a ping request in JSendX format.
DefaultStatusHandler returns the server status in JSendX format.
HealthCheckResultWriter returns a new healthcheck result writer.
NewRouter is deprecated.
Send sends a JSON respoonse wrapped in a JSendX container.
Wrap sends an Response object.

# Structs

AppInfo is a struct containing data to enrich the JSendX response.
Response wraps data into a JSend compliant response.
RouterArgs extra arguments for the router.