api

package
v0.0.0-...-058c977 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTodosServant

func RegisterTodosServant(app *fiber.App, s Todos)

RegisterTodosServant register Todos servant to fiber

Types

type Todos

type Todos interface {
	AllTodos(c *fiber.Ctx)
	TodoByID(c *fiber.Ctx)
	CreateTodo(c *fiber.Ctx)
	ToggleTodoStatus(c *fiber.Ctx)
	DeleteTodo(c *fiber.Ctx)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳