api

package
v0.0.0-...-96490c8 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package api @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Package api @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MavenGetReq

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

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

type MavenHeadReq

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

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

type MavenPutReq

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

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

type XMavenGetRepositoryReq

type XMavenGetRepositoryReq struct {
	g.Meta `path:"/getRepository" method:"GET"  tags:"XMaven" summary:"代理仓库查询"`
}

type XMavenGetRepositoryRes

type XMavenGetRepositoryRes struct {
	g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"代理仓库查询"`
	Data   []*model.MavenRepository `dc:"数据对象"`
}

type XMavenGetStorageReq

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

type XMavenGetStorageRes struct {
	g.Meta `mime:"text/html" type:"string" example:"<html/>" dc:"代理仓库查询"`
	Files  []string `dc:"文件路径"`
}

type XMavenGetSyncMirrorsReq

type XMavenGetSyncMirrorsReq struct {
	g.Meta `path:"/getSyncMirrors" method:"GET"  tags:"XMaven" summary:"代理仓库查询"`
}

type XMavenGetSyncMirrorsRes

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

Jump to

Keyboard shortcuts

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