package
Version:
v0.0.0-...-96490c8
Opens a new window with list of versions in this module.
Published: Aug 11, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type MavenGetReq struct {
g.Meta `path:"/:libName/*moduleName" method:"GET" tags:"Maven" summary:"maven代理仓库"`
LibName string `p:"libName" dc:"仓库ID"`
ModuleName string `p:"moduleName" dc:"jar包路径名称"`
Token string `p:"token" dc:"授权ID"`
}
type MavenGetRes struct {
g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"maven代理仓库"`
}
type MavenHeadReq struct {
g.Meta `path:"/:libName/*moduleName" method:"HEAD" tags:"Maven" summary:"maven代理仓库"`
LibName string `p:"libName" dc:"仓库ID"`
ModuleName string `p:"moduleName" dc:"jar包路径名称"`
Token string `p:"token" dc:"授权ID"`
}
type MavenHeadRes struct {
g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"maven代理仓库"`
}
type MavenPutReq struct {
g.Meta `path:"/:libName/*moduleName" method:"PUT" tags:"Maven" summary:"maven代理仓库"`
LibName string `p:"libName" dc:"仓库ID"`
ModuleName string `p:"moduleName" dc:"jar包路径名称"`
Token string `p:"token" dc:"授权ID"`
}
type MavenPutRes struct {
g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"maven代理仓库"`
}
type XMavenGetRepositoryReq struct {
g.Meta `path:"/getRepository" method:"GET" tags:"XMaven" summary:"代理仓库查询"`
}
type XMavenGetRepositoryRes struct {
g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"代理仓库查询"`
Data []*model.MavenRepository `dc:"数据对象"`
}
type XMavenGetStorageReq struct {
g.Meta `path:"/getStorage" method:"GET" tags:"XMaven" summary:"代理仓库查询"`
LibName string `p:"libName" dc:"仓库ID"`
JarPath string `p:"jarPath" dc:"jar包路径名称"`
}
type XMavenGetStorageRes struct {
g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"代理仓库查询"`
Files []string `dc:"文件路径"`
}
type XMavenGetSyncMirrorsReq struct {
g.Meta `path:"/getSyncMirrors" method:"GET" tags:"XMaven" summary:"代理仓库查询"`
}
type XMavenGetSyncMirrorsRes struct {
g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"代理仓库查询"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.