image

package
v0.0.0-...-b4339e2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Routes = []http.Route{

	{Path: "/image", Method: http.MethodPost, Middleware: []http.Middleware{middleware.Authenticate}, Handler: ImageCreateH},
	{Path: "/image/{owner}", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: ImageListH},
	{Path: "/image/{owner}/{name}", Method: http.MethodGet, Middleware: []http.Middleware{middleware.Authenticate}, Handler: ImageInfoH},
	{Path: "/image/{owner}/{name}", Method: http.MethodPut, Middleware: []http.Middleware{middleware.Authenticate}, Handler: ImageUpdateH},
	{Path: "/image/{owner}/{name}", Method: http.MethodDelete, Middleware: []http.Middleware{middleware.Authenticate}, Handler: ImageRemoveH},
}

Functions

func ImageCreateH

func ImageCreateH(w http.ResponseWriter, r *http.Request)

func ImageInfoH

func ImageInfoH(w http.ResponseWriter, r *http.Request)

func ImageListH

func ImageListH(w http.ResponseWriter, r *http.Request)

func ImageRemoveH

func ImageRemoveH(w http.ResponseWriter, r *http.Request)

func ImageUpdateH

func ImageUpdateH(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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