mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 12:20:27 +08:00
[域名服务]实现基本的线路配置
This commit is contained in:
15
pkg/dnsconfigs/route_ranges.go
Normal file
15
pkg/dnsconfigs/route_ranges.go
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||
|
||||
package dnsconfigs
|
||||
|
||||
type RouteRangeType = string
|
||||
|
||||
const (
|
||||
RouteRangeTypeIP RouteRangeType = "ipRange"
|
||||
)
|
||||
|
||||
// RouteRangeIPRange IP范围配置
|
||||
type RouteRangeIPRange struct {
|
||||
IPFrom string `json:"ipFrom"`
|
||||
IPTo string `json:"ipTo"`
|
||||
}
|
||||
Reference in New Issue
Block a user