Back to godoc.org

Package handler

v0.0.0-...-36b4345
Latest Go to latest

The latest major version is .

Published: Jun 14, 2020 | License: MIT | Module: github.com/Amakuchisan/QuestionStore

Index

func LoginHandler

func LoginHandler(c echo.Context) error

LoginHandler -- Login to each provider

func MainPage

func MainPage(c echo.Context) error

MainPage -- top page

func QuestionFormHandler

func QuestionFormHandler(c echo.Context) error

QuestionFormHandler -- post question

type QuestionHandleImplement

type QuestionHandleImplement interface {
	QuestionDetail(c echo.Context) error
	QuestionsTitleList(c echo.Context) error
	PostQuestion(c echo.Context) error
}

QuestionHandleImplement -- Define handler about questions

func NewQuestionHandler

func NewQuestionHandler(questionModel model.QuestionModelImpl) QuestionHandleImplement

NewQuestionHandler -- Initialize handler about question

type UserHandleImplement

type UserHandleImplement interface {
	UserAll(c echo.Context) error
	CallbackHandler(c echo.Context) error
}

UserHandleImplement -- Define handler about users

func NewUserHandler

func NewUserHandler(userModel model.UserModelImpl) UserHandleImplement

NewUserHandler -- Initialize handler about user

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