controllersFollow

package
v0.0.0-...-a74fbde Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 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 DeleteResponse

type DeleteResponse struct {
	Warning     bool   `json:"warning"`
	Message     string `json:"message"`
	FollowCount int    `json:"followCount"`
}

DeleteResponse 削除レスポンス

type ListController

type ListController struct {
	controllers.BaseController
}

ListController リストコントローラ

func (*ListController) Post

func (c *ListController) Post()

Post リスト

type ListRequest

type ListRequest struct {
	Order int `form:"order" validate:"min=1,max=2"`
	Page  int `form:"page"`
	Limit int `form:"limit" validate:"min=1,max=50"`
}

ListRequest リストリクエスト

type ListResponse

type ListResponse struct {
	List  []contributions.Contribution `json:"list"`
	Count int                          `json:"count"`
}

ListResponse リストレスポンス

type MainController

type MainController struct {
	controllers.BaseController
}

MainController コントローラ

func (*MainController) Delete

func (c *MainController) Delete()

Delete 削除する

func (*MainController) Post

func (c *MainController) Post()

Post 追加する

type PostResponse

type PostResponse struct {
	Warning     bool   `json:"warning"`
	Message     string `json:"message"`
	FollowCount int    `json:"followCount"`
}

PostResponse 追加レスポンス

Jump to

Keyboard shortcuts

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