api

package
v0.0.0-...-57ffcf5 Latest Latest
Warning

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

Go to latest
Published: May 30, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	AddRoutes(router *echo.Echo)
}

func NewAPI

func NewAPI(cardAPI CardAPI) API

type CardAPI

type CardAPI interface {
	PostCards(c echo.Context) error
	GetCards(c echo.Context) error
}

func NewCardAPI

func NewCardAPI(handler card.Handler) CardAPI

type CardsResponse

type CardsResponse struct {
	Items []core.Card `json:"items"`
}

Jump to

Keyboard shortcuts

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