mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-04-25 23:19:09 -04:00
doc for strmatcher interface
This commit is contained in:
@@ -90,7 +90,7 @@ type DomainMatcher struct {
|
||||
}
|
||||
|
||||
func NewDomainMatcher(domains []*Domain) (*DomainMatcher, error) {
|
||||
g := strmatcher.NewMatcherGroup()
|
||||
g := new(strmatcher.MatcherGroup)
|
||||
for _, d := range domains {
|
||||
m, err := domainToMatcher(d)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user