Documentation
¶
Overview ¶
Generated by swagger/tools/gen-stub --doc openapi.json --src ./api/oapigen --dst ./api
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmojiController ¶
type EmojiController struct{}
func NewEmojiController ¶
func NewEmojiController() *EmojiController
func (*EmojiController) Suggest ¶
func (c *EmojiController) Suggest(ctx context.Context, request oapigen.SuggestRequestObject) (response oapigen.SuggestResponseObject, err error)
Suggest is endpoint of POST /emoji/suggest 先頭一致で対応する文字列を探す
* body :requestBody -- "need: var body oapigen.SuggestJSONBody; gctx.ShouldBindJSON(&body); "
func (*EmojiController) Translate ¶
func (c *EmojiController) Translate(ctx context.Context, request oapigen.TranslateRequestObject) (response oapigen.TranslateResponseObject, err error)
Translate is endpoint of POST /emoji/translate :<alias>:のような表現を含んだ文字列をemojiを使った文字列に変換する
* body :requestBody -- "need: var body oapigen.TranslateJSONBody; gctx.ShouldBindJSON(&body); "
Click to show internal directories.
Click to hide internal directories.