MCPcopy
hub / github.com/gotify/server / Strings

Method Strings

plugin/compat/instance.go:65–71  ·  view source on GitHub ↗

Strings converts []Module to []string.

()

Source from the content-addressed store, hash-verified

63
64// Strings converts []Module to []string.
65func (m Capabilities) Strings() []string {
66 var result []string
67 for _, module := range m {
68 result = append(result, string(module))
69 }
70 return result
71}
72
73// MessageHandler see plugin.MessageHandler.
74type MessageHandler interface {

Callers 3

TestGetCapabilitiesMethod · 0.80
GetPluginsMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestGetCapabilitiesMethod · 0.64