Documentation ¶ Index ¶ func ContextAddID(ctx context.Context) context.Context func ContextAddToRequest(r *http.Request) *http.Request func ContextGetID(ctx context.Context) string func ContextGetRequest(ctx context.Context) *http.Request func UnreachableError(err error) type JSONResponse Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ContextAddID ¶ func ContextAddID(ctx context.Context) context.Context func ContextAddToRequest ¶ func ContextAddToRequest(r *http.Request) *http.Request func ContextGetID ¶ func ContextGetID(ctx context.Context) string func ContextGetRequest ¶ func ContextGetRequest(ctx context.Context) *http.Request func UnreachableError ¶ func UnreachableError(err error) Types ¶ type JSONResponse ¶ added in v0.0.27 type JSONResponse struct { ContextID string `json:"context_id"` Success bool `json:"success"` Message string `json:"message"` Data any `json:"data"` } Source Files ¶ View all Source files context.goerror.gojson_response.go Click to show internal directories. Click to hide internal directories.