api

package
v0.0.0-...-acf6a80 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(h *handler) *mux.Router

NewRouter initializes the API routes

Types

type StatDownloads

type StatDownloads struct {
	RepoName     string `json:"repoName"`
	ArtifactName string `json:"artifactName"`
	Downloads    int    `json:"downloads"`
}

StatDownloads contains information about an artifact and the number of times it has been downloaded

Jump to

Keyboard shortcuts

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