handler

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: MIT Imports: 6 Imported by: 1 module, 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

This section is empty.

Types

type Handlers

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

Handlers represent handlers of echo server

func New

func New(sumUseCase *usecase.Sum) *Handlers

New create new handlers

func (*Handlers) Sum

func (h *Handlers) Sum(c echo.Context) error

Sum handle http request to calculate sum

func (*Handlers) SumHistory

func (h *Handlers) SumHistory(c echo.Context) error

SumHistory handle http request to list sum history

Jump to

Keyboard shortcuts

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