()
| 304 | ) |
| 305 | |
| 306 | func (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). |
no outgoing calls
no test coverage detected