(customQG, parentQG string, disabled, parentDisabled bool)
| 863 | } |
| 864 | |
| 865 | func resolveQueueGroup(customQG, parentQG string, disabled, parentDisabled bool) (string, bool) { |
| 866 | if disabled { |
| 867 | return "", true |
| 868 | } |
| 869 | if customQG != "" { |
| 870 | return customQG, false |
| 871 | } |
| 872 | if parentDisabled { |
| 873 | return "", true |
| 874 | } |
| 875 | if parentQG != "" { |
| 876 | return parentQG, false |
| 877 | } |
| 878 | return DefaultQueueGroup, false |
| 879 | } |
| 880 | |
| 881 | func (g *group) AddGroup(name string, opts ...GroupOpt) Group { |
| 882 | var o groupOpts |
no outgoing calls
no test coverage detected