WithProxyImplementFunc an option function to setup proxy.ImplementFunc
(f ImplementFunc)
| 80 | |
| 81 | // WithProxyImplementFunc an option function to setup proxy.ImplementFunc |
| 82 | func WithProxyImplementFunc(f ImplementFunc) ProxyOption { |
| 83 | return func(p *Proxy) { |
| 84 | p.implement = f |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | // Implement |
| 89 | // proxy implement |