isValidReaction checks if a reaction value is valid according to the schema
(reaction string)
| 24 | |
| 25 | // isValidReaction checks if a reaction value is valid according to the schema |
| 26 | func isValidReaction(reaction string) bool { |
| 27 | return validReactions[reaction] |
| 28 | } |
| 29 | |
| 30 | // getValidReactions returns the list of valid reaction entries |
| 31 | func getValidReactions() []string { |
no outgoing calls