blogs

package
v0.0.0-...-87bbeb5 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddBlogRequest

type AddBlogRequest struct {
	Title   string `json:"title" validate:"required"`
	Content string `json:"content" validate:"required"`
}

type BlogsController

type BlogsController struct {
}

func (BlogsController) AddBlog

func (controller BlogsController) AddBlog(ctx echo.Context) error

func (BlogsController) GetBlog

func (controller BlogsController) GetBlog(ctx echo.Context) error

func (BlogsController) GetBlogs

func (controller BlogsController) GetBlogs(ctx echo.Context) error

func (BlogsController) Routes

func (controller BlogsController) Routes() []common.Route

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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