MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / NewHTTPFirewall

Function NewHTTPFirewall

internal/firewalls/firewall_http.go:21–26  ·  view source on GitHub ↗
(endpoint string)

Source from the content-addressed store, hash-verified

19}
20
21func NewHTTPFirewall(endpoint string) *HTTPFirewall {
22 return &HTTPFirewall{
23 client: http.DefaultClient,
24 endpoint: endpoint,
25 }
26}
27
28// Name 名称
29func (this *HTTPFirewall) Name() string {

Callers 1

FirewallFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected