mirror

package
v0.0.0-...-bf43de0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package mirror @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License

Package mirror @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License

Package mirror @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2024 central-mirror CLI @Author linngc @License

Package mirror @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

This section is empty.

Types

type AlpineGetReq

type AlpineGetReq struct {
	g.Meta     ``     /* 130-byte string literal not displayed */
	Version    string `p:"version" v:"required" dc:"版本" example:"v3.18"`
	Command    string `p:"command" v:"required" dc:"数据分类" example:"main"`
	Arch       string `p:"arch" v:"required" dc:"系统版本" example:"x86_64"`
	ModuleName string `p:"moduleName" v:"required" dc:"包路径名称" example:"acf-awall-0.4.1-r4.apk"`
	Token      string `p:"token"  dc:"授权ID"`
}

type AlpineGetRes

type AlpineGetRes struct {
	g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"Alpine仓库"`
}

type GolangGetReq

type GolangGetReq struct {
	g.Meta     `path:"/golang/*moduleName" method:"GET"  tags:"golang仓库" summary:"从中央仓库获取golang包数据"`
	ModuleName string `p:"moduleName"  v:"required" dc:"模块名称"`
}

type GolangGetRes

type GolangGetRes struct {
	g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"从中央仓库获取golang包数据"`
}

type GolangHeadReq

type GolangHeadReq struct {
	g.Meta     `path:"/golang/*moduleName" method:"HEAD"  tags:"Golang仓库" summary:"推送项目包到私有仓库"`
	ModuleName string `p:"moduleName"  v:"required" dc:"模块名称"`
}

type GolangHeadRes

type GolangHeadRes struct {
	g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"推送项目包到私有仓库"`
}

type MavenGetReq

type MavenGetReq struct {
	g.Meta     `path:"/maven/:libName/*moduleName" method:"GET"  tags:"Maven仓库" summary:"从中央仓库获取maven包数据"`
	LibName    string `p:"libName" v:"required" dc:"仓库ID"`
	ModuleName string `p:"moduleName" v:"required" dc:"jar包路径名称"`
	Token      string `p:"token" dc:"授权ID"`
}

type MavenGetRes

type MavenGetRes struct {
	g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"从中央仓库获取maven包数据"`
}

type MavenHeadReq

type MavenHeadReq struct {
	g.Meta     `path:"/maven/:libName/*moduleName" method:"HEAD"  tags:"Maven仓库" summary:"推送项目包到私有仓库"`
	LibName    string `p:"libName" v:"required" dc:"仓库ID"`
	ModuleName string `p:"moduleName"  v:"required" dc:"jar包路径名称"`
	Token      string `p:"token" dc:"授权ID"`
}

type MavenHeadRes

type MavenHeadRes struct {
	g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"推送项目包到私有仓库"`
}

type MavenPutReq

type MavenPutReq struct {
	g.Meta     `path:"/maven/:libName/*moduleName" method:"PUT"  tags:"Maven仓库" summary:"推送项目包到私有仓库"`
	LibName    string `p:"libName" v:"required" dc:"仓库ID"`
	ModuleName string `p:"moduleName" v:"required" dc:"jar包路径名称"`
	Token      string `p:"token" dc:"授权ID"`
}

type MavenPutRes

type MavenPutRes struct {
	g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"推送项目包到私有仓库"`
}

type PythonPackagesReq

type PythonPackagesReq struct {
	g.Meta     `path:"/python/packages/*moduleName" method:"GET" tags:"Python仓库" summary:"获取Python包数据"`
	ModuleName string `p:"moduleName" v:"required" dc:"包路径名称" example:"acf-awall-0.4.1-r4.apk"`
	Token      string `p:"token" dc:"授权ID"`
}

type PythonPackagesRes

type PythonPackagesRes struct {
	g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"Python代理仓库"`
}

type PythonSimpleReq

type PythonSimpleReq struct {
	g.Meta  `path:"/python/simple/*project" method:"GET" tags:"Python仓库" summary:"从中央仓库获取python包数据"`
	Project string `p:"artifactId" v:"required" dc:"插件名称" example:"django"`
	Token   string `p:"token" dc:"授权ID"`
}

type PythonSimpleRes

type PythonSimpleRes struct {
	g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"从中央仓库获取python包数据"`
}

Directories

Path Synopsis
npm
Package npm @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2022 center CLI @Author linngc @License
Package npm @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2022 center CLI @Author linngc @License
v1
Package v1 @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2022 center CLI @Author linngc @License
Package v1 @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL