Add GetUptimeByKey to store interface
This commit is contained in:
8
storage/store/common/errors.go
Normal file
8
storage/store/common/errors.go
Normal file
@ -0,0 +1,8 @@
|
||||
package common
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrServiceNotFound = errors.New("service not found") // When a service does not exist in the store
|
||||
ErrInvalidTimeRange = errors.New("'from' cannot be older than 'to'") // When an invalid time range is provided
|
||||
)
|
Reference in New Issue
Block a user