api

package
v0.0.0-...-907d1b5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 3 Imported by: 0

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 ApiController

type ApiController struct {
	*EmojiController
}

ApiController :

func NewApiController

func NewApiController() *ApiController

NewApiController :

type EmojiController

type EmojiController struct{}

func NewEmojiController

func NewEmojiController() *EmojiController

func (*EmojiController) Suggest

Suggest is endpoint of POST /emoji/suggest 先頭一致で対応する文字列を探す

* body :requestBody -- "need: var body oapigen.SuggestJSONBody; gctx.ShouldBindJSON(&body); "

func (*EmojiController) Translate

Translate is endpoint of POST /emoji/translate :<alias>:のような表現を含んだ文字列をemojiを使った文字列に変換する

* body :requestBody -- "need: var body oapigen.TranslateJSONBody; gctx.ShouldBindJSON(&body); "

Directories

Path Synopsis
Package oapigen provides primitives to interact with the openapi HTTP API.
Package oapigen provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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