controllersCharacter

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 DeleteController

type DeleteController struct {
	controllers.BaseController
}

DeleteController Deleteコントローラ

func (*DeleteController) Delete

func (c *DeleteController) Delete()

Delete 画像を削除する

type DeleteResponse

type DeleteResponse struct {
	Image []characters.Image `json:"images"`
}

DeleteResponse 削除レスポンス

type GettResponse

type GettResponse struct {
	Image []characters.Image `json:"images"`
}

GettResponse レスポンス

type MainController

type MainController struct {
	controllers.BaseController
}

MainController コントローラ

func (*MainController) Get

func (c *MainController) Get()

Get 一覧を取得する

func (*MainController) Post

func (c *MainController) Post()

Post 画像アップロード

func (*MainController) Put

func (c *MainController) Put()

Put 保存する

type PostResponse

type PostResponse struct {
	Image []characters.Image `json:"images"`
}

PostResponse アップロードレスポンス

type PutRequest

type PutRequest struct {
	ID        int `form:"id" validate:"min=1"`
	VoiceType int `form:"voiceType" validate:"min=1"`
}

PutRequest リクエスト

type PutResponse

type PutResponse struct {
	Warning bool   `json:"warning"`
	Message string `json:"message"`
}

PutResponse 保存レスポンス

Jump to

Keyboard shortcuts

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