MCPcopy
hub / github.com/fatedier/frp / HTTPS2HTTPSPluginOptions

Struct HTTPS2HTTPSPluginOptions

pkg/config/v1/proxy_plugin.go:141–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141type 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
151func (o *HTTPS2HTTPSPluginOptions) Complete() {
152 o.EnableHTTP2 = util.EmptyOr(o.EnableHTTP2, lo.ToPtr(true))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected