controllers

package
v0.0.0-...-602ea90 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepositoryController

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

func (RepositoryController) GetRepositories

func (c RepositoryController) GetRepositories(context *gin.Context)

@Summary GetRepositories @Description GetRepositories @ID get-repositories @Accept json @Produce json @Success 200 {string} string "ok" @Failure 500 {object} string "Internal Server Error" @Failure 404 {object} string "Not found" @Router /repositories [get]

func (RepositoryController) GetRepositoryById

func (c RepositoryController) GetRepositoryById(context *gin.Context)

@Summary GetRepository by ID @Description GetRepository by ID @ID get-repository-by-id @Accept json @Produce json @Param id path string true "Repository Id" @Success 200 {string} string "ok" @Failure 500 {object} string "Internal Server Error" @Failure 404 {object} string "Not found" @Router /repositories/{id} [get]

Jump to

Keyboard shortcuts

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