AgentIDs returns the IDs of all known agents as a slice.
()
| 338 | |
| 339 | // AgentIDs returns the IDs of all known agents as a slice. |
| 340 | func AgentIDs() []string { |
| 341 | ids := make([]string, len(Agents)) |
| 342 | for i, h := range Agents { |
| 343 | ids[i] = h.ID |
| 344 | } |
| 345 | return ids |
| 346 | } |
| 347 | |
| 348 | // AgentHelpList returns a newline-separated bulleted list of agents for help text. |
| 349 | func AgentHelpList() string { |
no outgoing calls
no test coverage detected