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

Method Labels

strategy-filter/method.go:35–43  ·  view source on GitHub ↗
(values ...string)

Source from the content-addressed store, hash-verified

33}
34
35func (m *methodFilter) Labels(values ...string) []string {
36 if len(values) > 0 && values[0] != ValuesALL {
37 return []string{"all method"}
38 }
39 if len(values) == 0 {
40 return []string{"-"}
41 }
42 return values
43}
44
45func (m *methodFilter) Type() string {
46 return m.typ

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected