(global *global.Global, tmpl *event.Event, isOutgoing bool)
| 58 | } |
| 59 | |
| 60 | func newProxy(global *global.Global, tmpl *event.Event, isOutgoing bool) *proxy { |
| 61 | return &proxy{ |
| 62 | global: global, |
| 63 | tmpl: tmpl, |
| 64 | |
| 65 | begin: time.Now(), |
| 66 | isOutgoing: isOutgoing, |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | func (p *proxy) Close() error { |
| 71 | errs := make(chan error, 2) |