MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / init

Function init

internal/nodes/http_cache_task_manager.go:32–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30)
31
32func init() {
33 if !teaconst.IsMain {
34 return
35 }
36
37 events.On(events.EventStart, func() {
38 goman.New(func() {
39 SharedHTTPCacheTaskManager.Start()
40 })
41 })
42}
43
44var SharedHTTPCacheTaskManager = NewHTTPCacheTaskManager()
45

Callers

nothing calls this directly

Calls 3

OnFunction · 0.92
NewFunction · 0.92
StartMethod · 0.65

Tested by

no test coverage detected