routes

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRouter

func BuildRouter(c *services.Container)

BuildRouter builds the HTTP router for all endpoint handlers.

Types

type Hello

type Hello struct {
	controller.Controller
}

func (*Hello) Get

func (c *Hello) Get(ctx echo.Context) error

type Item

type Item struct {
	controller.Controller
}

Item is the controller for the Item-based routes.

func (Item) Delete

func (c Item) Delete(ctx echo.Context) error

func (Item) Get

func (c Item) Get(ctx echo.Context) error

func (Item) Post

func (c Item) Post(ctx echo.Context) error

func (Item) Put

func (c Item) Put(ctx echo.Context) error

Jump to

Keyboard shortcuts

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