Back to godoc.org

Package handler

v0.0.0-...-fe2d2a6
Latest Go to latest

The latest major version is .

Published: Nov 7, 2019 | License: MIT | Module: github.com/makotia/Matsuya-Web-API

Index

type Handler

type Handler struct {
	DB *mgo.Session
}

Handler is call API with db session

func (*Handler) Hello

func (h *Handler) Hello(c echo.Context) error

Hello : ルートアクセス

func (*Handler) V4Random

func (h *Handler) V4Random(c echo.Context) error

V4Random : ランダムでメニューを返すAPI

func (*Handler) V4Search

func (h *Handler) V4Search(c echo.Context) error

V4Search 検索する

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier