Documentation ¶
Index ¶
- Constants
- Variables
- func GetPricesUrl(ctx context.Context, service_number, keys string) (*resty.Response, error)
- func IndexApi(c *gin.Context)
- func PriceAddAndUpdateByItemApi(c *gin.Context)
- func PriceDeleteItemApi(c *gin.Context)
- func PriceGetItemApi(c *gin.Context)
- func PriceGetItemsAllApi(c *gin.Context)
- func PriceGetItemsApi(c *gin.Context)
- func TokenGetApi(c *gin.Context)
- type Client
- type Login
Constants ¶
View Source
const MaxIdleConns = 3000
Variables ¶
View Source
var OpenClient = resty.New()
Functions ¶
func GetPricesUrl ¶
func PriceDeleteItemApi ¶
func PriceGetItemApi ¶
func PriceGetItemsAllApi ¶
func PriceGetItemsApi ¶
func TokenGetApi ¶
curl -X POST -H "Content-Type:application/json" -d "{\"username\":\"admin\", \"code\": \"123456\"}" http://localhost:8080/login
Types ¶
Click to show internal directories.
Click to hide internal directories.