MCPcopy Create free account
hub / github.com/OrangeWatermelon/frp_cmd / WithTlsConfig

Function WithTlsConfig

test/e2e/mock/server/httpserver/server.go:48–53  ·  view source on GitHub ↗
(tlsConfig *tls.Config)

Source from the content-addressed store, hash-verified

46}
47
48func WithTlsConfig(tlsConfig *tls.Config) Option {
49 return func(s *Server) *Server {
50 s.tlsConfig = tlsConfig
51 return s
52 }
53}
54
55func WithHandler(h http.Handler) Option {
56 return func(s *Server) *Server {

Callers 3

NewHTTPPluginServerFunction · 0.92
client.goFile · 0.92
basic.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected