Documentation ¶
Overview ¶
Package toolkit @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License
Index ¶
- func BucketInfo(ctx context.Context) (*marshal.BucketInfo, error)
- func GetAuthDecode(authorization string) (user, pwd string, err error)
- func GetAuthEncode(user, pwd string) string
- func GetLibNames(ctx context.Context) (libs map[string]string, err error)
- func GetMirrors(ctx context.Context) (mirrors []string, err error)
- func GetSyncMirrors(ctx context.Context)
- func OnConfig(str string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BucketInfo ¶
func BucketInfo(ctx context.Context) (*marshal.BucketInfo, error)
BucketInfo 查询缓存路径信息
func GetAuthDecode ¶
GetAuthDecode 解密用户字符串
func GetLibNames ¶
GetLibNames 获取已配置的仓库名称信息 最终请求示例:http://127.0.0.1:10010/v1.api/maven/getRepository
func GetMirrors ¶
GetMirrors 获取配置的镜像地址
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.