| 15 | } |
| 16 | |
| 17 | type PqPubSub struct { |
| 18 | Notify chan Msg |
| 19 | |
| 20 | L *pq.Listener |
| 21 | sender *sql.DB |
| 22 | |
| 23 | Log *log.Logger |
| 24 | } |
| 25 | |
| 26 | func NewPQ(dsn string) (*PqPubSub, error) { |
| 27 | l := &PqPubSub{ |
nothing calls this directly
no outgoing calls
no test coverage detected