Documentation ¶
Index ¶
- func AdjustRateInterval(namespaceCreationTime time.Time, queryTime time.Time, ratesInterval string) (string, error)
- func ConfigToJS()
- func GetStartTimeForRateInterval(baseTime time.Time, rateInterval string) (time.Time, error)
- func UpdateBaseURL(webRootPath string)
- type ClockMock
- type RealClock
- type TimeProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustRateInterval ¶ added in v0.9.1
func GetStartTimeForRateInterval ¶ added in v0.9.1
func UpdateBaseURL ¶
func UpdateBaseURL(webRootPath string)
UpdateBaseURL updates index.html base href with web root string
Types ¶
type TimeProvider ¶ added in v0.9.1
var Clock TimeProvider
Source Files ¶
Click to show internal directories.
Click to hide internal directories.