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

Method Copy

internal/waf/waf.go:398–407  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

396}
397
398func (this *WAF) Copy() *WAF {
399 var waf = &WAF{
400 Id: this.Id,
401 IsOn: this.IsOn,
402 Name: this.Name,
403 Inbound: this.Inbound,
404 Outbound: this.Outbound,
405 }
406 return waf
407}
408
409func (this *WAF) CountInboundRuleSets() int {
410 count := 0

Callers 2

RunMethod · 0.80
TestCopyFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestCopyFunction · 0.64