Add inserts k into the set.
(k ServiceKey)
| 74 | |
| 75 | // Add inserts k into the set. |
| 76 | func (s ServiceSet) Add(k ServiceKey) { |
| 77 | s[k] = struct{}{} |
| 78 | } |
| 79 | |
| 80 | // ParseServiceKey returns the ServiceKey matching s, or an error if s is not recognized. |
| 81 | func ParseServiceKey(s string) (ServiceKey, error) { |
no outgoing calls