forked from lox/apt-proxy
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package linux | ||
|
||
type buildin_custom_mirror struct { | ||
url string | ||
alias string | ||
} | ||
|
||
var BUILDIN_CUSTOM_UBUNTU_MIRRORS = []buildin_custom_mirror{ | ||
{url: "https://mirrors.tuna.tsinghua.edu.cn/ubuntu/", alias: "cn:tsinghua"}, | ||
{url: "http://mirrors.ustc.edu.cn/ubuntu/", alias: "cn:ustc"}, | ||
{url: "https://mirrors.163.com/ubuntu/", alias: "cn:163"}, | ||
{url: "https://mirrors.aliyun.com/ubuntu/", alias: "cn:aliyun"}, | ||
{url: "https://repo.huaweicloud.com/ubuntu/", alias: "cn:huawei"}, | ||
{url: "https://mirrors.cloud.tencent.com/ubuntu/", alias: "cn:tencent"}, | ||
} | ||
|
||
var BUILDIN_CUSTOM_DEBIAN_MIRRORS = []buildin_custom_mirror{ | ||
{url: "https://mirrors.tuna.tsinghua.edu.cn/debian/", alias: "cn:tsinghua"}, | ||
{url: "http://mirrors.ustc.edu.cn/debian/", alias: "cn:ustc"}, | ||
{url: "https://mirrors.163.com/debian/", alias: "cn:163"}, | ||
{url: "https://mirrors.aliyun.com/debian/", alias: "cn:aliyun"}, | ||
{url: "https://repo.huaweicloud.com/debian/", alias: "cn:huawei"}, | ||
{url: "https://mirrors.cloud.tencent.com/debian/", alias: "cn:tencent"}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters