controllers

package
v0.0.0-...-cc190ba Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InternalServerErrorResponse = map[string]interface{}{
	"message": "Internal Server Error",
}

Functions

func AttachSwaggerApi

func AttachSwaggerApi(g *echo.Group) *echo.Group

func AttachTrelloApi

func AttachTrelloApi(g *echo.Group) *echo.Group

Types

type SwaggerApi

type SwaggerApi struct {
}

func (SwaggerApi) Get

func (el SwaggerApi) Get(e echo.Context) error

func (SwaggerApi) GetDocument

func (el SwaggerApi) GetDocument(e echo.Context) error

type TrelloApi

type TrelloApi struct {
}

*

  • trelloApi: The objective of this structure is to group all the possible data necessary to
  • make it work, for example, if fixed parameters were required or data that does not change
  • in each call of its functions.

func (TrelloApi) Create

func (t TrelloApi) Create(c echo.Context) error

This is the place where the magic happens. It is the controller that registers card creation requests in Trello

func (TrelloApi) Delete

func (t TrelloApi) Delete(c echo.Context) error

This is the place where the magic happens. It is the controller that registers card creation requests in Trello

func (TrelloApi) Get

func (t TrelloApi) Get(c echo.Context) error

This is the place where the magic happens. It is the controller that registers card creation requests in Trello

Jump to

Keyboard shortcuts

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