Documentation ¶
Overview ¶
Package alpine @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package alpine @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package alpine @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Package alpine @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AlpineConfig ¶
type AlpineConfig struct {
Mirror string `` /* 158-byte string literal not displayed */
}
type AlpineProxy ¶
func (*AlpineProxy) Get ¶
func (c *AlpineProxy) Get() (u *cacheModel.ObjectsInfo, err error)
Get get/head请求时候入口 最终请求示例: http://mirrors.ustc.edu.cn/alpine/v3.18/main/x86_64/7zip-22.01-r5.apk @param version 版本 @param arch 系统指令类型 @param command 数据分类 @param moduleName 包路径名称
func (*AlpineProxy) GetSyncMirrors ¶
func (c *AlpineProxy) GetSyncMirrors()
GetSyncMirrors 同步官网数据 请求示例: http://mirrors.ustc.edu.cn/alpine/v3.18/main/x86_64/7zip-22.01-r5.apk