PLT-7810 Track if an APIv3 endpoint was used in the last day (#7744)

* Track if an APIv3 endpoint was used in the last day

* Make it atomic
Этот коммит содержится в:
Joram Wilander
2017-10-31 17:36:41 -04:00
коммит произвёл Christopher Speller
родитель 709ef99eca
Коммит 23e4b4a27d
3 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@@ -18,6 +18,8 @@ import (
l4g "github.com/alecthomas/log4go"
)
var UsedApiV3 *int32 = new(int32)
const (
HEADER_REQUEST_ID = "X-Request-ID"
HEADER_VERSION_ID = "X-Version-ID"