Documentation ¶
Index ¶
Constants ¶
View Source
const (
CorrelationIdHeader = "X-Correlation-ID"
)
Variables ¶
View Source
var ( RequestId string CorrelationId string )
Functions ¶
func BodySizeLimitMiddleware ¶
func BodySizeLimitMiddleware(requestBytesLimit int64) gin.HandlerFunc
func LoggingMiddleware ¶
func LoggingMiddleware() gin.HandlerFunc
func RequestJsonLogger ¶
func RequestJsonLogger() gin.HandlerFunc
func RunHttpServer ¶
Types ¶
type ErrorResponse ¶
func (*ErrorResponse) Error ¶
func (error *ErrorResponse) Error() string
Click to show internal directories.
Click to hide internal directories.