router

package
v0.0.0-...-2b331e9 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRouter

func InitRouter() *gin.Engine

Types

type CreateArticleBody

type CreateArticleBody struct {
	Title   string `json:"title"`
	Content string `json:"content"`
}

type DeleteArticleBody

type DeleteArticleBody struct {
	ID string `json:"id"`
}

type ListArticleBody

type ListArticleBody struct {
	PageNo   int64 `json:"page_no"`
	PageSize int64 `json:"page_size"`
}

type UpdateArticleBody

type UpdateArticleBody struct {
	ID string `json:"id"`
	CreateArticleBody
}

Jump to

Keyboard shortcuts

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