request

package
v0.0.0-...-725965c Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DestroyCategoryByID

type DestroyCategoryByID struct {
	ID int `json:"id"`
}

A DestroyCategoryByID represents the singular of DestroyCategoryByID.

type DestroyPostByID

type DestroyPostByID struct {
	ID int `json:"id"`
}

A DestroyPostByID represents the singular of DestroyPostByID.

type DestroyTagByID

type DestroyTagByID struct {
	ID int `json:"id"`
}

A DestroyTagByID represents the singular of DestroyTagByID.

type IndexCategory

type IndexCategory struct {
	Page  int `json:"page"`
	Limit int `json:"limit"`
}

A IndexCategory represents the singular of IndexCategory.

type IndexComment

type IndexComment struct {
	Page  int `json:"page"`
	Limit int `json:"limit"`
}

A IndexComment represents the singular of IndexComment.

type IndexPost

type IndexPost struct {
	Page  int `json:"page"`
	Limit int `json:"limit"`
}

A IndexPost represents the singular of IndexPost.

type IndexPostByKeyword

type IndexPostByKeyword struct {
	Keyword string `json:"keyword"`
	Page    int    `json:"page"`
	Limit   int    `json:"limit"`
}

A IndexPostByKeyword represents the singular of IndexPostByKeyword.

type IndexPostByName

type IndexPostByName struct {
	Name  string `json:"name"`
	Page  int    `json:"page"`
	Limit int    `json:"limit"`
}

A IndexPostByName represents the singular of IndexPostByName.

type IndexTag

type IndexTag struct {
	Page  int `json:"page"`
	Limit int `json:"limit"`
}

A IndexTag represents the singular of IndexTag.

type Refresh

type Refresh struct {
	Token string `json:"token"`
}

A Refresh represents the singular of Refresh.

type ShowCategoryByID

type ShowCategoryByID struct {
	ID int `json:"id"`
}

A ShowCategoryByID represents the singular of ShowCategoryByID.

type ShowCategoryByName

type ShowCategoryByName struct {
	Name string `json:"name"`
}

A ShowCategoryByName represents the singular of ShowCategoryByName.

type ShowCommentByID

type ShowCommentByID struct {
	ID int `json:"id"`
}

A ShowCommentByID represents the singular of ShowCommentByID.

type ShowPostByID

type ShowPostByID struct {
	ID int `json:"id"`
}

A ShowPostByID represents the singular of ShowPostByID.

type ShowPostByTitle

type ShowPostByTitle struct {
	Title string `json:"title"`
}

A ShowPostByTitle represents the singular of ShowPostByTitle.

type ShowTagByID

type ShowTagByID struct {
	ID int `json:"id"`
}

A ShowTagByID represents the singular of ShowTagByID.

type ShowTagByName

type ShowTagByName struct {
	Name string `json:"name"`
}

A ShowTagByName represents the singular of ShowTagByName.

type ShowUserInfo

type ShowUserInfo struct {
	Token string `json:"token"`
}

A ShowUserInfo represents the singular of ShowUserInfo.

type SignIn

type SignIn struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

A SignIn represents the singular of SignIn.

type SignOut

type SignOut struct {
	Token string `json:"token"`
}

A SignOut represents the singular of SignOut.

type StoreCategory

type StoreCategory struct {
	Name string `json:"name"`
}

A StoreCategory represents the singular of StoreCategory.

type StoreComment

type StoreComment struct {
	PostID int    `json:"post_id"`
	Body   string `json:"body"`
}

A StoreComment represents the singular of comment for StoreComment.

type StorePost

type StorePost struct {
	Token      string   `json:"token"`
	AdminID    int      `json:"admin_id"`
	CategoryID int      `json:"category_id"`
	Tags       postTags `json:"tags"`
	Title      string   `json:"title"`
	Body       string   `json:"body"`
	MDBody     string   `json:"md_body"`
	HTMLBody   string   `json:"html_body"`
	Status     string   `json:"status"`
}

A StorePost represents the singular of StorePost.

type StoreTag

type StoreTag struct {
	Name string `json:"name"`
}

A StoreTag represents the singular of StoreTag.

type UpdateCategory

type UpdateCategory struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

A UpdateCategory represents the singular of UpdateCategory.

type UpdateCommentStatus

type UpdateCommentStatus struct {
	ID     int    `json:"id"`
	Status string `json:"status"`
}

A UpdateCommentStatus represents the singular of UpdateCommentStatus.

type UpdatePost

type UpdatePost struct {
	ID         int      `json:"id"`
	Token      string   `json:"token"`
	AdminID    int      `json:"admin_id"`
	CategoryID int      `json:"category_id"`
	Tags       postTags `json:"tags"`
	Title      string   `json:"title"`
	Body       string   `json:"body"`
	MDBody     string   `json:"md_body"`
	HTMLBody   string   `json:"html_body"`
	Status     string   `json:"status"`
}

A UpdatePost represents the singular of UpdatePost.

type UpdateTag

type UpdateTag struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

A UpdateTag represents the singular of UpdateTag.

Jump to

Keyboard shortcuts

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