http

package
v0.0.0-...-e1c34d2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(e *echo.Echo, c classusecase.ClassUsecase)

Types

type ClassHTTPHandler

type ClassHTTPHandler struct {
	ClassUsecase classusecase.ClassUsecase
}

func (*ClassHTTPHandler) HandleFetchAllClasses

func (h *ClassHTTPHandler) HandleFetchAllClasses(c echo.Context) error

func (*ClassHTTPHandler) HandleFetchAllSessions

func (h *ClassHTTPHandler) HandleFetchAllSessions(c echo.Context) error

type ResponseError

type ResponseError struct {
	Message string `json:"error"`
}

ResponseError wraps json error response

Jump to

Keyboard shortcuts

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