Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenAllMatchDomain ¶
GenAllMatchDomain 生成能够与目标域名匹配的所有解析域名的翻转格式 如 "a.b.example.com" -> ["com.example.b.a", "com.example.b.a.*", "com.example.b.*", "com.example.*"]
func SliceDeduplication ¶
func SliceDeduplication[T comparable](ts []T) []T
SliceDeduplication 对切片元素进行去重,但是需要确保切片是可比较的
func SliceEqual ¶ added in v0.1.0
func SliceEqual[T comparable](a, b []T) bool
SliceEqual 比较切片元素的值是否相等,忽略切片元素的顺序
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.