| 34 | } |
| 35 | |
| 36 | type HTTPS2HTTPSPlugin struct { |
| 37 | crtPath string |
| 38 | keyPath string |
| 39 | hostHeaderRewrite string |
| 40 | localAddr string |
| 41 | headers map[string]string |
| 42 | |
| 43 | l *Listener |
| 44 | s *http.Server |
| 45 | } |
| 46 | |
| 47 | func NewHTTPS2HTTPSPlugin(params map[string]string) (Plugin, error) { |
| 48 | crtPath := params["plugin_crt_path"] |
nothing calls this directly
no outgoing calls
no test coverage detected