MCPcopy
hub / github.com/cloudflare/cloudflared / Run

Method Run

cmd/cloudflared/app_service.go:32–35  ·  view source on GitHub ↗

Run starts the run loop to handle config updates and run forwarders, tunnels, etc

()

Source from the content-addressed store, hash-verified

30
31// Run starts the run loop to handle config updates and run forwarders, tunnels, etc
32func (s *AppService) Run() error {
33 go s.actionLoop()
34 return s.configManager.Start(s)
35}
36
37// Shutdown kills all the running services
38func (s *AppService) Shutdown() error {

Callers 1

handleServiceModeFunction · 0.95

Calls 2

actionLoopMethod · 0.95
StartMethod · 0.65

Tested by

no test coverage detected