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

Function NewHandler

strategy-filter/filter.go:113–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111}
112
113func NewHandler() *Handler {
114 return &Handler{
115 filters: eosc.BuildUntyped[string, IFilter](),
116 remoteFilters: eosc.BuildUntyped[string, IRemoteFilter](),
117 options: eosc.BuildUntyped[string, ScopeFilterOption](),
118 }
119}
120
121func (f *Handler) RemoteFilter(name string) (IRemoteFilter, bool) {
122 return f.remoteFilters.Get(name)

Callers 1

filter.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected