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

Method Clone

pkg/config/v1/proxy_plugin.go:92–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90func (o *HTTP2HTTPSPluginOptions) Complete() {}
91
92func (o *HTTP2HTTPSPluginOptions) Clone() ClientPluginOptions {
93 if o == nil {
94 return nil
95 }
96 out := *o
97 out.RequestHeaders = o.RequestHeaders.Clone()
98 return &out
99}
100
101type HTTPProxyPluginOptions struct {
102 Type string `json:"type,omitempty"`

Callers

nothing calls this directly

Calls 1

CloneMethod · 0.65

Tested by

no test coverage detected