| 139 | } |
| 140 | |
| 141 | type HTTPS2HTTPSPluginOptions struct { |
| 142 | Type string `json:"type,omitempty"` |
| 143 | LocalAddr string `json:"localAddr,omitempty"` |
| 144 | HostHeaderRewrite string `json:"hostHeaderRewrite,omitempty"` |
| 145 | RequestHeaders HeaderOperations `json:"requestHeaders,omitempty"` |
| 146 | EnableHTTP2 *bool `json:"enableHTTP2,omitempty"` |
| 147 | CrtPath string `json:"crtPath,omitempty"` |
| 148 | KeyPath string `json:"keyPath,omitempty"` |
| 149 | } |
| 150 | |
| 151 | func (o *HTTPS2HTTPSPluginOptions) Complete() { |
| 152 | o.EnableHTTP2 = util.EmptyOr(o.EnableHTTP2, lo.ToPtr(true)) |
nothing calls this directly
no outgoing calls
no test coverage detected