handlers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthCheckHandler

func HealthCheckHandler(c echo.Context) error

Types

type BuildHandler

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

func NewBuildHandler

func NewBuildHandler(s *services.BuildService) *BuildHandler

func (*BuildHandler) FindAll

func (h *BuildHandler) FindAll(c echo.Context) (err error)

GetBuilds @Summary Fetch a list of all builds. @Description Fetch a list of all builds. @Tags build @Accept */* @Produce json @Success 200 {object} []build.Build @Failure 500 {object} error @Router /builds [get]

type Handlers

type Handlers struct {
	BuildHandler
}

func New

func New(s *services.Services) *Handlers

Jump to

Keyboard shortcuts

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