api

package
v0.0.0-...-4f3ca93 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2018 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	*downloads.Module
	Repo string

	Start time.Time
}

func Create

func Create(m *downloads.Manager, repo string) *API

func (*API) GetDownload

func (a *API) GetDownload(ctx *macaron.Context, project maven.Identifier) error

func (*API) GetDownloads

func (a *API) GetDownloads(ctx *macaron.Context, project maven.Identifier) error

func (*API) GetProject

func (a *API) GetProject(ctx *macaron.Context, c maven.Identifier) error

func (*API) GetProjects

func (a *API) GetProjects(ctx *macaron.Context) error

func (*API) GetRecommendedDownload

func (a *API) GetRecommendedDownload(ctx *macaron.Context, project maven.Identifier) error

func (*API) Setup

func (a *API) Setup(m *macaron.Macaron, renderer macaron.Handler)

Jump to

Keyboard shortcuts

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