handlers

package
v0.0.0-...-f748b44 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
}

Handler defines a requst handler

func New

func New() *Handler

New creates a new request handler

func (*Handler) BuildCreateHandler

func (handler *Handler) BuildCreateHandler(w http.ResponseWriter, r *http.Request)

func (*Handler) BuildDeleteHandler

func (handler *Handler) BuildDeleteHandler(w http.ResponseWriter, r *http.Request)

DeleteHandler deletes a build

func (*Handler) BuildGetAllHandler

func (handler *Handler) BuildGetAllHandler(w http.ResponseWriter, r *http.Request)

BuildGetAllHandler returns all builds

func (*Handler) BuildGetByIdHandler

func (handler *Handler) BuildGetByIdHandler(w http.ResponseWriter, r *http.Request)

BuildGetByIdHandler returns a Build given the Id, or 404 if not found

func (*Handler) BuildUpdateHandler

func (handler *Handler) BuildUpdateHandler(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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