MCPcopy
hub / github.com/nats-io/nats.go / String

Method String

micro/service.go:306–317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

304)
305
306func (s Verb) String() string {
307 switch s {
308 case PingVerb:
309 return "PING"
310 case StatsVerb:
311 return "STATS"
312 case InfoVerb:
313 return "INFO"
314 default:
315 return ""
316 }
317}
318
319// AddService adds a microservice.
320// It will enable internal common services (PING, STATS and INFO).

Callers 2

addVerbHandlersMethod · 0.45
ControlSubjectFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected