api

package
v0.0.0-...-c20e4a3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegistryStatsResponse

type RegistryStatsResponse struct {
	NumPackages int `json:"num_packages"`
	NumVersions int `json:"num_versions"`
	StorageSize int `json:"storage_size"`
}

type Service

type Service struct {
	services.BasePackageService
}

func NewApiService

func NewApiService(storageBackend storage.BaseStorageBackend) *Service

func (*Service) DeletePackage

func (s *Service) DeletePackage(c *gin.Context)

func (*Service) DeleteVersion

func (s *Service) DeleteVersion(c *gin.Context)

func (*Service) GetPackage

func (s *Service) GetPackage(c *gin.Context)

func (*Service) ListPackagesHandler

func (s *Service) ListPackagesHandler(c *gin.Context)

func (*Service) ListVersionsHandler

func (s *Service) ListVersionsHandler(c *gin.Context)

func (*Service) RegistryStats

func (s *Service) RegistryStats(c *gin.Context)

Jump to

Keyboard shortcuts

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