Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetPageResponse ¶
type GetPageResponse PageWithContents
type PageHandler ¶
type PageHandler struct {
// contains filtered or unexported fields
}
func NewPageHandler ¶
func NewPageHandler( pageRepo repository.PageRepository, lineRepo repository.LinePageRepository, dialRepo repository.DialoguePageRepository, ) *PageHandler
func (*PageHandler) GetPage ¶
func (h *PageHandler) GetPage(c echo.Context) error
func (*PageHandler) PatchIndex ¶
func (h *PageHandler) PatchIndex(c echo.Context) error
func (*PageHandler) PostPage ¶
func (h *PageHandler) PostPage(c echo.Context) error
type PageWithContents ¶
type PatchIndexRequest ¶
type PatchIndexRequest struct { // Operationは"inc"(加算)か"dec"(減算)のみを許可する Operation string `json:"operation"` }
type PostPageRequest ¶
type PostPageResponse ¶
type PostPageResponse Page
Click to show internal directories.
Click to hide internal directories.