MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / init

Function init

module/router/router.go:42–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func init() {
43 apiModule := new(imlRouterModule)
44 autowire.Auto[IRouterModule](func() reflect.Value {
45 return reflect.ValueOf(apiModule)
46 })
47
48 autowire.Auto[IExportRouterModule](func() reflect.Value {
49 return reflect.ValueOf(apiModule)
50 })
51
52 filter := new(imlRouterFilter)
53 autowire.Autowired(filter)
54 strategy_filter.RegisterRemoteFilter(filter)
55}

Callers

nothing calls this directly

Calls 1

RegisterRemoteFilterMethod · 0.80

Tested by

no test coverage detected