MCPcopy
hub / github.com/mcuadros/ofelia / mergeMiddlewares

Method mergeMiddlewares

core/scheduler.go:63–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63func (s *Scheduler) mergeMiddlewares() {
64 for _, j := range s.Jobs {
65 j.Use(s.Middlewares()...)
66 }
67}
68
69func (s *Scheduler) Stop() error {
70 s.wg.Wait()

Callers 2

StartMethod · 0.95

Calls 2

UseMethod · 0.65
MiddlewaresMethod · 0.65

Tested by 1