(base, name string)
| 37 | } |
| 38 | |
| 39 | func EventsForSingle(base, name string) Events { |
| 40 | if name == "" { |
| 41 | return []string{base + ":*"} |
| 42 | } |
| 43 | |
| 44 | return []string{base + ":*", base + ":" + name} |
| 45 | } |
| 46 | |
| 47 | // Hook is an interface to execute a specific hook type |
| 48 | type Hook interface { |
no outgoing calls
no test coverage detected