Documentation ¶
Overview ¶
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SwaggerInfo = &swag.Spec{ Version: "0.2.0", Host: "", BasePath: "", Schemes: []string{}, Title: "Suricate Bank API", Description: "Suricate Bank is an api that creates accounts and transfers money between them.\n### Authorization\nTo create a transfer (`POST /transfer`) you will need to add an Authorization header\nto your request, in the format **Authorization: Bearer YOUR_TOKEN**. You can set this\nclicking on the authorize button and entering \"Bearer YOUR_TOKEN\". You can get your\ntoken from the login response.\n### Idempotent Requests\nCreate transfer and account routes (`POST /transfer` and `POST /account`) support\nidempotent requests (you will always get the same response for the same\nrequest, without creating duplicates). To use, just set an Idempotency-Key on your\nrequest (any string, for example a UUID).", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate_swagger, }
SwaggerInfo holds exported Swagger Info so clients can modify it
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.