[域名服务]实现基本的线路配置

This commit is contained in:
GoEdgeLab
2021-05-30 16:31:24 +08:00
parent 9c52498861
commit e7c76b9a17
5 changed files with 1225 additions and 15 deletions

View 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"`
}