mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
21 lines
278 B
Text
21 lines
278 B
Text
|
{% stripspace %}
|
||
|
|
||
|
{% func BulkResponse(n int, tookMs int64) %}
|
||
|
{
|
||
|
"took":{%dl tookMs %},
|
||
|
"errors":false,
|
||
|
"items":[
|
||
|
{% for i := 0; i < n; i++ %}
|
||
|
{
|
||
|
"create":{
|
||
|
"status":201
|
||
|
}
|
||
|
}
|
||
|
{% if i+1 < n %},{% endif %}
|
||
|
{% endfor %}
|
||
|
]
|
||
|
}
|
||
|
{% endfunc %}
|
||
|
|
||
|
{% endstripspace %}
|