Documentation
¶
Index ¶
Constants ¶
View Source
const ( ACCEPT_HEADER string = "application/json, text/plain, */*" USER_AGENT_HEADER string = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.4692.71 Safari/417.36" ACCEPT_ENCODING_HEADER string = "gzip, deflate, br, zstd" ACCEPT_LANGUAGE string = "en-US,en;q=0.9,bn;q=0.8" )
Variables ¶
View Source
var NotFoundHandler gin.HandlerFunc = func(ctx *gin.Context) { HandleErr(ctx, NewHttpError(404)) }
Functions ¶
func IsHttpError ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.