Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kenn-io/msgvault
/ TriggerSync
Method
TriggerSync
internal/api/server.go:52–52 ·
view source on GitHub ↗
(email string)
Source
from the content-addressed store, hash-verified
50
type
SyncScheduler
interface
{
51
IsScheduled(email string) bool
52
TriggerSync(email string) error
53
AddAccount(email, schedule string) error
54
Status() []AccountStatus
55
IsRunning() bool
Callers
12
TestStopCancelsRunningSync
Function · 0.65
TestTriggerSync
Function · 0.65
TestSyncPreventsDoubleRun
Function · 0.65
TestStatusAfterSyncSuccess
Function · 0.65
TestStatusAfterSyncError
Function · 0.65
TestTriggerSyncAfterStop
Function · 0.65
TestScheduler_RunAfterSync_Fires
Function · 0.65
TestScheduler_RunAfterSync_DisabledDoesNotFire
Function · 0.65
TestScheduler_RunAfterSync_SkipOnStopped
Function · 0.65
TestScheduler_RunAfterSync_SkipOnSyncError
Function · 0.65
handleTriggerSync
Method · 0.65
TriggerSync
Method · 0.65
Implementers
3
Scheduler
internal/scheduler/scheduler.go
mockScheduler
internal/api/server_test.go
schedulerAdapter
cmd/msgvault/cmd/serve.go
Calls
no outgoing calls
Tested by
10
TestStopCancelsRunningSync
Function · 0.52
TestTriggerSync
Function · 0.52
TestSyncPreventsDoubleRun
Function · 0.52
TestStatusAfterSyncSuccess
Function · 0.52
TestStatusAfterSyncError
Function · 0.52
TestTriggerSyncAfterStop
Function · 0.52
TestScheduler_RunAfterSync_Fires
Function · 0.52
TestScheduler_RunAfterSync_DisabledDoesNotFire
Function · 0.52
TestScheduler_RunAfterSync_SkipOnStopped
Function · 0.52
TestScheduler_RunAfterSync_SkipOnSyncError
Function · 0.52