handler

package
v0.0.0-...-fe2d2a6 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 検索する

Jump to

Keyboard shortcuts

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