ppc

package
v0.0.0-...-9a72348 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Downloads

func Downloads(w http.ResponseWriter, r *http.Request)

func NewService

func NewService(storage *adapter.ObjectStorage) http.Handler

NewServiceServer creates a new service server and initiates the routes.

func Ok

func Ok(w http.ResponseWriter, r *http.Request)

Types

type Metadata

type Metadata struct {
	Packages map[string][]struct {
		VersionNormalized string `json:"version_normalized"`
		Dist              struct {
			Reference string `json:"reference"`
			Type_     string `json:"type"`
			URL       string `json:"url"`
		} `json:"dist"`
	}
}

type ServiceServer

type ServiceServer struct {
	// contains filtered or unexported fields
}

ServiceServer executes the users requests.

func (*ServiceServer) Package

func (s *ServiceServer) Package(w http.ResponseWriter, r *http.Request)

func (*ServiceServer) ServeHTTP

func (s *ServiceServer) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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