package
0.0.0-20241123103040-34550093ded7
Repository: https://github.com/zhangpetergo/gin-service.git
Documentation: pkg.go.dev
# Functions
Decode reads the body of an HTTP request looking for a JSON document.
GetTime returns the time from the context.
GetTraceID returns the trace id from the context.
GetValues returns the values from the context.
IsShutdown checks to see if the shutdown error is contained in the specified error value.
NewApp creates an App value that handle a set of routes for the application.
NewShutdownError returns an error that causes the framework to signal a graceful shutdown.
Param returns the web call parameters from the request.
No description provided by the author
# Type aliases
Logger represents a function that will be called to add information to the logs.