| 66 | } |
| 67 | |
| 68 | type queue struct { |
| 69 | chanSubs map[string]*chanSub |
| 70 | mu sync.Mutex |
| 71 | done chan struct{} |
| 72 | interrupt chan struct{} |
| 73 | callback chan *Message |
| 74 | isClose int32 |
| 75 | name string |
| 76 | cfg *types.Chain33Config |
| 77 | msgPool *sync.Pool |
| 78 | } |
| 79 | |
| 80 | // New new queue struct |
| 81 | func New(name string) Queue { |
nothing calls this directly
no outgoing calls
no test coverage detected