Add GetUptimeByKey to store interface

This commit is contained in:
TwinProduction authored and Chris committed 2021-08-13 01:25:50 -04:00
1 parent 968b960283
commit 0b6fc6b520
18 files changed
+182 -71

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@ import (
"net/http"
"strconv"
"github.com/TwinProduction/gatus/core"
"github.com/TwinProduction/gatus/storage/store/common"
)
const (
@@ -15,7 +15,7 @@ const (
DefaultPageSize = 20
// MaximumPageSize is the maximum page size allowed
MaximumPageSize = core.MaximumNumberOfResults
MaximumPageSize = common.MaximumNumberOfResults
)
func extractPageAndPageSizeFromRequest(r *http.Request) (page int, pageSize int) {