Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/evcc-io/evcc
/ Stop
Method
Stop
core/timer.go:53–58 ·
view source on GitHub ↗
Reset resets the timer
()
Source
from the content-addressed store, hash-verified
51
52
// Reset resets the timer
53
func
(m *Timer) Stop() {
54
m.Lock()
55
defer
m.Unlock()
56
57
m.started = time.Time{}
58
}
59
60
func
(m *Timer) Running() bool {
61
m.Lock()
Callers
9
Send
Method · 0.95
setter
Function · 0.80
stopWakeUpTimer
Method · 0.80
stopVehicleDetection
Method · 0.80
TestConcurrentRead
Function · 0.80
TestReadCoils
Function · 0.80
startChargePoint
Method · 0.80
TestConnect
Method · 0.80
stopBootTimer
Method · 0.80
Calls
2
Lock
Method · 0.80
Unlock
Method · 0.80
Tested by
4
TestConcurrentRead
Function · 0.64
TestReadCoils
Function · 0.64
startChargePoint
Method · 0.64
TestConnect
Method · 0.64