api

package
v0.0.0-...-caa7b66 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: GPL-3.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (err error)

New echo api

Types

type AuthHandler

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

func (*AuthHandler) Middleware

func (ah *AuthHandler) Middleware(username, password string, c echo.Context) (bool, error)

type RegistryHandler

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

RegistryHandler handler

func (*RegistryHandler) Bind

func (h *RegistryHandler) Bind(router *echo.Echo)

Bind controller

func (*RegistryHandler) POST

func (h *RegistryHandler) POST(c echo.Context) error

POST User

type UsersHandler

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

Users handler

func (*UsersHandler) Bind

func (h *UsersHandler) Bind(router *echo.Echo)

Bind controller

func (*UsersHandler) DELETE

func (h *UsersHandler) DELETE(c echo.Context) error

DELETE User

func (*UsersHandler) GET

func (h *UsersHandler) GET(c echo.Context) error

GET User

func (*UsersHandler) POST

func (h *UsersHandler) POST(c echo.Context) error

POST User

func (*UsersHandler) PUT

func (h *UsersHandler) PUT(c echo.Context) error

PUT change info

Jump to

Keyboard shortcuts

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