mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-14 17:59:57 +07:00
feat: rename package
This commit is contained in:
@ -7,12 +7,12 @@ package routing
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
consts2 "foo/common/consts"
|
||||
"github.com/v2rayA/dae/common/consts"
|
||||
"net/netip"
|
||||
"strings"
|
||||
)
|
||||
|
||||
var FakeOutbound_AND = consts2.OutboundLogicalAnd.String()
|
||||
var FakeOutbound_AND = consts.OutboundLogicalAnd.String()
|
||||
|
||||
type MatcherBuilder interface {
|
||||
AddDomain(key string, values []string, outbound string)
|
||||
@ -20,8 +20,8 @@ type MatcherBuilder interface {
|
||||
AddPort(values [][2]int, outbound string)
|
||||
AddSource(values []netip.Prefix, outbound string)
|
||||
AddSourcePort(values [][2]int, outbound string)
|
||||
AddNetwork(values consts2.NetworkType, outbound string)
|
||||
AddIpVersion(values consts2.IpVersion, outbound string)
|
||||
AddNetwork(values consts.NetworkType, outbound string)
|
||||
AddIpVersion(values consts.IpVersion, outbound string)
|
||||
AddMac(values [][6]byte, outbound string)
|
||||
AddFinal(outbound string)
|
||||
AddAnyBefore(key string, values []string, outbound string)
|
||||
@ -92,8 +92,8 @@ func (d *DefaultMatcherBuilder) AddIp(values []netip.Prefix, outbound string)
|
||||
func (d *DefaultMatcherBuilder) AddPort(values [][2]int, outbound string) {}
|
||||
func (d *DefaultMatcherBuilder) AddSource(values []netip.Prefix, outbound string) {}
|
||||
func (d *DefaultMatcherBuilder) AddSourcePort(values [][2]int, outbound string) {}
|
||||
func (d *DefaultMatcherBuilder) AddNetwork(values consts2.NetworkType, outbound string) {}
|
||||
func (d *DefaultMatcherBuilder) AddIpVersion(values consts2.IpVersion, outbound string) {}
|
||||
func (d *DefaultMatcherBuilder) AddNetwork(values consts.NetworkType, outbound string) {}
|
||||
func (d *DefaultMatcherBuilder) AddIpVersion(values consts.IpVersion, outbound string) {}
|
||||
func (d *DefaultMatcherBuilder) AddMac(values [][6]byte, outbound string) {}
|
||||
func (d *DefaultMatcherBuilder) AddFinal(outbound string) {}
|
||||
func (d *DefaultMatcherBuilder) AddAnyBefore(key string, values []string, outbound string) {}
|
||||
|
Reference in New Issue
Block a user